[Adduser-devel] Bug#453086: adduser --system --group should ensure uid==gid

Ian Jackskon ian at davenant.greenend.org.uk
Tue Nov 27 09:59:09 UTC 2007


Package: adduser
Version: 3.102
Severity: wishlist

mariner:~> perl -e 'print join "|", getpwnam "Debian-exim"'; echo
Debian-exim|x|100|102||||/var/spool/exim4|/bin/false
mariner:~> perl -e 'print join "|", getgrnam "Debian-exim"'; echo
Debian-exim|x|102|
mariner:~> grep Debian-exim /etc/passwd /etc/group
/etc/passwd:Debian-exim:x:100:102::/var/spool/exim4:/bin/false
/etc/group:Debian-exim:x:102:
mariner:~>

It would be slightly less confusing if the ids matched.

This machine was installed from an etch netinst CD about three weeks
ago and I have configured exim only via dpkg-reconfigure.  I'm pretty
sure the user was created by this line in exim4-config's postinst:
        adduser --system --group --quiet --home /var/spool/exim4 \
                --no-create-home --disabled-login --force-badname Debian-exim

Ian.





More information about the Adduser-devel mailing list