Bug#333706: [Pkg-shadow-devel] Bug#333706: useradd lacks -r option

Christian Perrier bubulle at debian.org
Sat Oct 15 05:58:47 UTC 2005


> > The LSB specifies the existence of a useradd '-r' option,
> > 
> > http://www.linuxbase.org/spec//booksets/LSB-Core-generic/LSB-Core-generic/useradd.html
> 
> -r options is used in useradd from Solaris and *BSD for specyfy NSS 
> repository.
> Equivalent of -r options prior to shadow shadow-4.0.10 was "-O GID_MIN=1 
> -O UID_MAX=1" (in shadow shadow-4.0.11 undocumented -O options was renamed 
> to -K which is similar to -K in Solaris useradd).
> Pushing -r option without consultation it is RH people "job".


As far as I know, LSB is not only endorsed by Redhat.

And, I'm afraid that at least Solaris 8 and 9 have no -r option in its
useradd command.

I have no *BSD handy  for checking, though...

Anyway, I don't really follow your reasoning, Tomasz. Do you actually
reject this suggestion with a kind of "this is Linux specific sh*t"
reasoning...or do you consider it?






More information about the Pkg-shadow-devel mailing list