LightDM does not grant access for other users after login was refused from pam_time

Reported by Takkat on 2011-10-23
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Light Display Manager
Undecided
Unassigned

Bug Description

Acess to login was restricted for user2 by defining restrictions from pam_time in /etc/security/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.

Takkat (takkat-nebuk) wrote :
Takkat (takkat-nebuk) on 2011-10-23
description: updated
Takkat (takkat-nebuk) wrote :
Takkat (takkat-nebuk) wrote :

This is a duplicate of bug #835310.
Removing libpam-smbpass restored to expected behaviour here too.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers