unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 39023@debbugs.gnu.org, "Gábor Boskovits" <boskovits@gmail.com>
Cc: symphonia@disroot.org
Subject: bug#39023: adduser/addgroup vs useradd/groupadd
Date: Wed, 22 Jan 2020 02:44:24 +0100	[thread overview]
Message-ID: <CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@mail.gmail.com> (raw)
In-Reply-To: <4678e0a6a529877fee91a452424115c1@disroot.org>

Dear,

The bug [1] reports that useradd/groupadd are not provided on BusyBox.
And for example, they had this discussion [2].

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39023
[2] http://lists.busybox.net/pipermail/busybox/2016-February/083907.html


For example, on Debian, adduser is a Perl script calling useradd under the hood.

And the current Guix manual says:

<<
On a GNU/Linux system, a build user pool may be created like this
(using Bash syntax and the shadow commands):
>>

where the parenthesis should be understood as: "adapt to your distribution".


Two options:

 a/ explicitly notice in the parenthesis that the chunk needs to be
adapted; mentioning adduser/addgroup instead of useradd/groupadd for
example.

 b/ replace useradd/groupadd by adduser/addgroup using the
corresponding options.

The option b/ means that 'adduser/addgroup' is more portable (more
chance to work on everywhere GNU/linux). I am not convinced.

Personally, I am in favor for option a/.


What do the *NIX gurus think?

All the best,
simon

  parent reply	other threads:[~2020-01-22  1:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 21:29 bug#39023: binary installation manual doesn't work on Alpine Linux symphonia
2020-01-08 12:34 ` Gábor Boskovits
2020-01-22  3:53   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22 19:42     ` Gábor Boskovits
2020-01-22 19:58       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22 20:03         ` Gábor Boskovits
2020-02-19 15:56           ` zimoun
2020-01-22  1:44 ` zimoun [this message]
2020-01-22  4:03   ` bug#39023: adduser/addgroup vs useradd/groupadd Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22  8:31     ` zimoun
2020-04-23 11:55 ` bug#39023: binary installation manual doesn't work on Alpine Linux Vincent Legoll
2020-04-23 13:29   ` zimoun
2020-04-23 14:15     ` Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=39023@debbugs.gnu.org \
    --cc=boskovits@gmail.com \
    --cc=symphonia@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).