Comment 0 for bug 880313

Revision history for this message
Takkat (takkat-nebuk) wrote :

Acess to login was restricted for user2 by defining restrictions from pam_time in /etc/time.conf (user1 was granted full access)

    *;*;user1;Al0000-2400
    *;*;user2;Wk0000-2400 # user2 has no access on weekends

Pam_time was added to /etc/pam.d/lightdm by the line

    account required pam_time.so

We expect login for user2 to be restricted but login for user1 is still granted.

Instead we observe the following:

 * login as user2 fails with wrong password error.
 * repeated login as user2 or user1 - no errors but login fails.
 * switching to user1 (or another user) in the greeter: no field to give in a password is displayed.
 * Shut down from menu on panel becomes unresponsive

Thus after a rejected login due to restrictions from pam_time we cannot resume working on this machine without a forced reboot (via tty or magic SysRq).

Running lightdm 1.0.1 on updated Ubuntu 11.10 am64

Included is an excerpt from auth.log.