From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: Idea: Install script to better support improving contributor-friendliness of projects Date: Thu, 30 Nov 2017 14:52:20 +0100 Message-ID: References: <311dec57-62fd-a88d-19d4-2eae9041ef97@gmail.com> <87bmjook1w.fsf@netris.org> <87zi745bpu.fsf@gnu.org> <87d13z6h9g.fsf@hyperbola.info> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKPGI-0004uJ-Vf for guix-devel@gnu.org; Thu, 30 Nov 2017 08:52:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKPGI-0004L7-4Y for guix-devel@gnu.org; Thu, 30 Nov 2017 08:52:23 -0500 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:40104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKPGH-0004Kp-W1 for guix-devel@gnu.org; Thu, 30 Nov 2017 08:52:22 -0500 Received: by mail-qt0-x22c.google.com with SMTP id u42so8749157qte.7 for ; Thu, 30 Nov 2017 05:52:21 -0800 (PST) In-Reply-To: <87d13z6h9g.fsf@hyperbola.info> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Adonay Felipe Nogueira Cc: guix-devel On Thu, Nov 30, 2017 at 2:14 PM, Adonay Felipe Nogueira wrote: > Perhaps something like this (I don't know if this is correct): > > --8<---------------cut here---------------start------------->8--- > sudo -i || su > ... Do stuff as real/full root. > exit > ... Do stuff as normal user. > --8<---------------cut here---------------end--------------->8--- That would be cleaner, but the other form (sudo on each line) is more robust wrt doc refactoring pick your poison -- Vincent Legoll