[Pkg-shadow-devel] Bug#396691: login: newgrp doesn't allow me to
switch back to my primary group
Georg Neis
gn at oglaroon.de
Thu Nov 2 11:45:26 CET 2006
Package: login
Version: 1:4.0.18.1-5
Severity: normal
# adduser foobar
Adding user `foobar' ...
Adding new group `foobar' (1003) ...
Adding new user `foobar' (1003) with group `foobar' ...
Creating home directory `/home/foobar' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for foobar
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
# adduser foobar cdrom
Adding user `foobar' to group `cdrom' ...
Done.
# ssh foobar at localhost
Password:
Last login: Thu Nov 2 11:36:46 2006 from localhost.localdomain
foobar at traal:~$ id
uid=1003(foobar) gid=1003(foobar) groups=24(cdrom),1003(foobar)
foobar at traal:~$ newgrp cdrom
foobar at traal:~$ id
uid=1003(foobar) gid=24(cdrom) groups=24(cdrom),1003(foobar)
foobar at traal:~$ newgrp foobar
Password:
Sorry.
Is it really intended that I am not able to switch back to my main
group?
Best regards,
Georg
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages login depends on:
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libpam-modules 0.79-4 Pluggable Authentication Modules f
ii libpam-runtime 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-4 Pluggable Authentication Modules l
login recommends no packages.
-- no debconf information
More information about the Pkg-shadow-devel
mailing list