Bug#621833: System users: removing them
On Sun, Jul 01, 2012 at 12:35:26PM -0700, Steve Langasek wrote:
> On Sun, Jul 01, 2012 at 11:55:39AM +0200, Marc Haber wrote:
> > > It would also alter the existing behaviour of adduser, which is to
> > > return nonzero if the user already exists, which could cause
> > > breakage.
>
> > NACK, adduser --system does return zero if the user already exists and
> > its parameters are sufficiently similiar to the parameters requested
> > by the maintainer script.
>
> How is "sufficiently similar" defined, and where is it documented? It's not
> in policy, and I don't see anything in the adduser manpage that explains
> this.
Add a system user
If called with one non-option argument and the --system option,
adduser will add a system user. If a user with the same name already
exists in the system uid range (or, if the uid is specified, if a
user with that uid already exists), adduser will exit with a warnâ
ing. This warning can be suppressed by adding "--quiet".
If that's not enough, a bug report against adduser is in order.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
Reply to: