[Pkg-shadow-devel] Bug#381408: useradd's -g option doesn't handle group names

Matt Kraai kraai at ftbfs.org
Fri Aug 4 07:41:42 UTC 2006


Package: passwd
Version: 1:4.0.18-1
Severity: serious

When I try to bootstrap sid, useradd fails because it does not accept
group names passed to -g:

 P: Configuring package exim4-config
 D: Updating exim4-config to status 3
 O: hostname:
 O: Host name lookup failure
 O:
 O: hostname:
 O: Host name lookup failure
 O:
 O: Adding system-user for exim (v4)
 O: useradd: invalid numeric argument 'Debian-exim'
 O: adduser: `/usr/sbin/useradd -d /var/spool/exim4 -g Debian-exim -s /bin/false -u 100 Debian-exim' returned error code 3. Exiting.

According to useradd's manual page, the -g option should accept group
names as well as group IDs.

This is serious because it prevents the system from bootstrapping.

-- 
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20060804/89ad317d/attachment.pgp


More information about the Pkg-shadow-devel mailing list