Experiments part 24
authorAndreas Schiermeier <andreas@schiermeier.name>
Sun, 13 Dec 2015 03:54:06 +0000 (04:54 +0100)
committerAndreas Schiermeier <andreas@schiermeier.name>
Sun, 13 Dec 2015 03:54:06 +0000 (04:54 +0100)
modules/desktop/manifests/init.pp
modules/system/files/etc/pam.d/common-session

index 553cd80..9bee70d 100644 (file)
@@ -65,7 +65,7 @@ class desktop {
 
        user { 'guest':
                uid => 5000,
 
        user { 'guest':
                uid => 5000,
-               home => '/run/user/5000',
+               home => '/run/user/5000/home',
                # password: guest
                password => '$6$pheeghohphaikuka$lJodCaTfZG4IhXw9.htxDsMDAiQrhOsXyJR.nvCdWc2EHgmstkTrpn/8LWi83e9Ac.WFDfzmQ1phpDII/npl/0',
                managehome => false,
                # password: guest
                password => '$6$pheeghohphaikuka$lJodCaTfZG4IhXw9.htxDsMDAiQrhOsXyJR.nvCdWc2EHgmstkTrpn/8LWi83e9Ac.WFDfzmQ1phpDII/npl/0',
                managehome => false,
index 5c95ebc..8fea93d 100644 (file)
@@ -21,8 +21,8 @@ session       requisite                       pam_deny.so
 # since the modules above will each just jump around
 session        required                        pam_permit.so
 # and here are more per-package modules (the "Additional" block)
 # since the modules above will each just jump around
 session        required                        pam_permit.so
 # and here are more per-package modules (the "Additional" block)
-session        optional        pam_systemd.so 
-session        required                        pam_mkhomedir.so skel=/etc/skel umask=0022
 session        required        pam_unix.so 
 session        required        pam_unix.so 
-session        optional pam_tmpdir.so 
+session        optional        pam_systemd.so 
+session        required        pam_mkhomedir.so skel=/etc/skel umask=0022
+session        optional        pam_tmpdir.so 
 # end of pam-auth-update config
 # end of pam-auth-update config