[Adduser-devel] Bug#344824: --firstuid should be usable with --system, but it is silently ignored

Marc Haber mh+debian-packages at zugschlus.de
Mon Dec 26 19:14:44 UTC 2005

On Mon, Dec 26, 2005 at 07:05:44PM +0000, Max Bowsher wrote:
> Marc Haber wrote:
> > On Mon, Dec 26, 2005 at 04:53:04PM +0000, Max Bowsher wrote:
> > It is documented that adduser --system uses the first available UID
> > from the system UID range.
> The same language, except for 'normal' being used instead of 'system',
> is used to document plain adduser (without --system).  The normal case
> then goes on to describe --firstuid/--lastuid.  So, I agree the
> documentation is correct.
> But, is there a good reason to permit overriding the normal UID range
> via the command line, but not permit overriding the system UID range?

This is probably there for historical reasons, but I am not inclined
to touch the code more than it is absolutely necessary. The code is
fragile and shouldn't break

> > Is your goal reached with adduser --disabled-login --firstuid 200 test1?
> Only partially, because I want the suppression of copying /etc/skel

Use --home with a directory that already exists

> and running chfn that --system provides.

use --gecos.


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

More information about the Adduser-devel mailing list