Gnome Screensaver should handle expired password tokens
Gnome Screensaver should handle expired password tokens. Currently it does
not. It just unlocks screen, so in case you're using kerberos - your credentials cache stays expired and you need to manually change your password or logout and then login again (lightdm, gdm, etc. do handle expired password tokens).
Actually, there is a mainstream bugreport with patch solving the problem, but it seems noone is interested in solving this issue:
The patch provided by Brian C. Huffman solves the issue and is compatible with today's GS behavior (it can be emulated using special pam config, see comment 9 there).
Both solutions using this patch (with and without "passwd required pam_permit.so") tested by me with oneiric's gnome-screensav
Gnome-screensaver doesn't handle expired credentials. If user's account password must be changed (e.g. expired), when unlocking screen, gnome-screensaver doesn't suggest to change the password. This behavior rises two problems:
1) security: user can unlock screen and get access even if it's password has expired;
2) usability: if kerberos authentication is used, then credentials cache stays expired, so user can't access kerberized services until password is changed manually.
Since precise LTS is used widely in corporate environments (with krb5 auth), backporting to it would be useful.
1) Configure gnome-screensaver to lock screen and require password to login (gnome-
2) Configure pam to use krb5/sss/winbind authentication against any KDC that supports password expiration;
3) login with normal (not expired) account (using lightdm/
4) mark this account's password as expired (or 'must change') somehow (depends on KDC you're using);
5) lock screen;
6) unlock screen with your password. You will not be asked to change your password;
7) try to access any kerberized service (http-proxy/
Fixing a bug with provided patch (raring) changes behavior on unlocking with expired password. If we need to save current behavior as default, then we should use new /etc/pam.
|Changed in gnome-screensaver (Ubuntu):|
|status:||New → Confirmed|
|Changed in gnome-screensaver:|
|importance:||Unknown → Medium|
|status:||Unknown → New|