[LightDM] lightdm 1.4.0 released

Yves-Alexis Perez corsac at debian.org
Sat Oct 6 08:19:58 PDT 2012


On ven., 2012-10-05 at 17:02 +1300, Robert Ancell wrote:
> This is the first release in the stable 1.4 series. This series will
> be maintained on the lp:lightdm/1.4 branch and trunk (lp:lightdm) will
> now be used for the unstable 1.5 series.
> 
> Overview of changes in lightdm 1.4.0
> 
>     * Correctly implement and test autologin timeouts 

I have a quick question about autologin. You now ship pam files directly
in lightdm, but the differences between normal and autologin don't
strike me:

--- data/pam/lightdm	2011-12-09 01:51:23.000000000 +0000
+++ data/pam/lightdm-autologin	2011-12-09 01:51:23.000000000 +0000
@@ -1,6 +1,6 @@
 #%PAM-1.0
 
-# Block login if they are disabled
+# Block login if they are globally disabled
 auth      required pam_nologin.so
 
 # Load environment from /etc/environment and ~/.pam_environment
@@ -9,11 +9,11 @@
 # Use /etc/passwd and /etc/shadow for passwords
 auth      required pam_unix.so
 
-# Check account is active, change password if required
+# Stop autologin if account requires action
 account   required pam_unix.so
 
-# Allow password to be changed
-password  required pam_unix.so
+# Can't change password
+password  required pam_deny.so
 
 # Setup session
 session   required pam_unix.so

The only meaningful changes is the password one. How is achieved
autologin here?

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20121006/2101b806/attachment.pgp>


More information about the LightDM mailing list