Re: specification for adding users and groups
On Wed, 2 Jun 1999, Daniel Quinlan wrote:
> If I recall correctly, I think Debian has a standard non-interactive
> program for .deb packages to add a user. Red Hat has a adduser program
> too. Do some rpms use it?
Comparing RH 5.2 and Debian 2.1, both have an adduser command as well as
useradd. On RH, adduser is a symlink to useradd, which is from shadow
utils. On Debian, useradd is the same showdow utils command, and adduser
is a (quite different) Perl script apparently Debian specific. All are
non-interactive and allow specifying of several options such as UID, GID,
> Assuming we agree that a specification is needed, there are (more or
> less) three acceptable ways we could go about this:
> * Use an existing specification (such as SUSv2 if it covers this)
In a cursory glance through a couple of volumes, I don't see any
specification of user administration tools in SUS2.
> * Document existing practice (one way that one or more Linux
> distributions do it)
It seems that useradd from shadow utils would be a good starting point, if
> The main prerequisite for the specification is a brave person to handle
> the whole user/group specification. Any volunteers?
What would need to be specified? Syntax for the commands? Reserved
Jakob 'sparky' Kaivo - firstname.lastname@example.org - http://www.ndn.net/
"As time goes on, my signature gets shorter and shorter..." - me