[Pkg-shadow-devel] Bug#596070: passwd: group password is always invalid

Mario Barchetti bhaal.9k at gmail.com
Wed Sep 8 13:50:08 UTC 2010

Package: passwd
Version: 1:
Severity: important


I've added a new group and I've set a password:

$ su
# addgroup public_group
# gpasswd public_group
Changing the password for group public_group
New Password:
Re-enter new password:

But when I use newgrp the login always fails:

$ newgrp public_group
Invalid password.

I've tried many times to repeat everything, also changing the password or the name of the group, but newgrp always returns "Invalid password".

"public_group" is both in /etc/group and in /etc/gshadows, the password field of /etc/group is 'x' and the password field of /etc/gshadows is not empty and doesn't contain '*' or '!'.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-4    Pluggable Authentication Modules f
ii  libpam0g                      1.1.1-4    Pluggable Authentication Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information

More information about the Pkg-shadow-devel mailing list