From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#39023: adduser/addgroup vs useradd/groupadd Date: Wed, 22 Jan 2020 09:31:09 +0100 Message-ID: References: <4678e0a6a529877fee91a452424115c1@disroot.org> <87eevs9lyo.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuBQh-0002RX-G7 for bug-guix@gnu.org; Wed, 22 Jan 2020 03:32:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuBQg-00024r-BX for bug-guix@gnu.org; Wed, 22 Jan 2020 03:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuBQg-00024n-57 for bug-guix@gnu.org; Wed, 22 Jan 2020 03:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iuBQg-0000Bo-2U for bug-guix@gnu.org; Wed, 22 Jan 2020 03:32:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87eevs9lyo.fsf@nckx> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 39023@debbugs.gnu.org Hi Tobias, On Wed, 22 Jan 2020 at 05:03, Tobias Geerinckx-Rice wrote: > zimoun =E5=86=99=E9=81=93=EF=BC=9A > > a/ explicitly notice in the parenthesis that the chunk needs to > > be > > adapted; mentioning adduser/addgroup instead of useradd/groupadd > > for > > example. > > There's also: > > c/ do nothing, or It is not fair, IMHO. :-) > d/ include the complete code snippet provided by symphonia, but > as an =E2=80=98out-of-band=E2=80=99 footnote to avoid confusion/blind > copy-pasting/distracting the majority of (GNU) users with > irrelevant variants. Well, mixing the option a/ and b/. :-) - telling explicitly - providing copy/paste-able variant snippet Yes, it is a better option. > With a/, the user won't know which options to change, or how. > They might not understand our =E2=80=98useradd=E2=80=99 syntax, and won't= have its > man page installed. Yes, and they would not know neither if their foreign distro comes with exotic 'adduser/addgroup'. > As implied by my reply to G=C3=A1bor, b/ isn't an option so I've > snipped it. Yes, it is my assumption --based on my small experience-- that 'adduser/addgroup' is less portable than 'useradd/groupadd'. > I strongly prefer option d/. Let go to this one. :-) Hum? let see I am able to include the complete code snippet as an footnote using Texinfo... (Maybe someone will beat me. :-) > > What do the *NIX gurus think? > > GNU's not *NIX! :o) (Nor is it POSIX.) H=C3=A9h=C3=A9! Schr=C3=B6dinger's distro: by installing Guix on your forei= gn *NIX distro, the user will have in the same time "not *NIX" and *NIX. ;-) (Even if *NIX needs to run linux which mitigate the joke. :-))