Comment 4 for bug 880104

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Marking confirmed. It is actually pretty trivial to reproduce, no need for a network directory (such as LDAP) for that.

Step to reproduce:

1. Create a dummy group to test:

$ sudo addgroup test

2. configure pam_group:

$ echo "*; *; *; Al0000-2400" | sudo tee -a /etc/security/group.con
$ echo "auth optional pam_group.so" | sudo tee -a /etc/pam.d/common-auth

3. Log in through LightDM, and run the "id" command from a terminal. Notice you are not member of group "test".

4. Switch to VT using Ctrl-Alt-F1 and log in (or, alternatively, log in throughssh). Run the "id" command, and notice you *are* member of group "test".

Tested on precise, amd64, lightdm 1.1.1-0ubuntu4.