[Pkg-shadow-devel] Bug#443264: passwd: useradd ignores default group and creates usergroups instead
CaT
cat at zip.com.au
Thu Sep 20 02:26:29 UTC 2007
Package: passwd
Version: 1:4.0.18.1-7
Severity: normal
I am trying to add a new user to the system whose group will
automatically be set to 'users' but useradd fails to do so:
# useradd test
# id test
uid=1007(test) gid=1007(test) groups=1007(test)
# userdel test
# useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
Doing useradd -D -g 1000 then useradd -D -g 100 (to make sure that it
writes stuff out to the file) does not change the broken behaviour. I
have seen this happen on 2 etch systems upgraded from sarge and 1 etch
system that was built fresh.
This also occurs wether or not GROUP=100 is explicitly in
/etc/default/useradd or not.
-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages passwd depends on:
ii debianutils 2.17 Miscellaneous utilities specific t
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libpam-modules 0.79-4 Pluggable Authentication Modules f
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libselinux1 1.32-3 SELinux shared libraries
ii login 1:4.0.18.1-7 system login tools
passwd recommends no packages.
-- debconf information:
passwd/password-mismatch:
passwd/username:
passwd/password-empty:
* passwd/md5: true
passwd/user-uid:
* passwd/shadow: true
passwd/username-bad:
passwd/user-fullname:
* passwd/make-user: false
passwd/title:
More information about the Pkg-shadow-devel
mailing list