[Pkg-shadow-devel] Re: [Adduser-devel] Re: Processed: Re: --force-badname unsupported by groupadd

Marc Haber mh+debian-packages@zugschlus.de
Tue, 8 Feb 2005 08:23:41 +0100

On Tue, Feb 08, 2005 at 07:06:18AM +0100, Christian Perrier wrote:
> So "adduser --group" then calls groupadd and not addgroup. *that* sound
> strange to me....

lrwxrwxrwx  1 root root 7 Jan  5 13:38 /usr/sbin/addgroup -> adduser*

If adduser --group would call addgroup, it would re-invoke itself.

> PS to Marc and adduser maintainers : for post-sarge, we should
> probably talk together (I'm in the process of taking over shadow, the
> source package for passwd and login, which include useradd and
> groupadd). Having both a "useradd" and a "adduser" utility in Debian
> seems very confusing to our users. Even me is usually forced to
> remember which is which.
> We should probably consider some day declaring useradd and groupadd
> obsoleted by adduser and addgroup which have far more features.

useradd is the standard way that is available on most UNIX systems.
additionally, adduser uses useradd to do the actuall adding of the new

adduser, otoh, is a Debianism.

To use other words: adduser is the front-end, useradd is the back-end.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835