display-managers: fix pam_env.so usage

Fixed usage of pam_env.so PAM module in lightDM and GDM.
This commit is contained in:
Michael Raitza 2015-11-22 21:25:11 +01:00
parent f591a171f8
commit 338576cace
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ in
gdm.text = ''
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_env.so envfile=${config.system.build.pamEnvironment}
auth required pam_succeed_if.so uid >= 1000 quiet
auth optional ${gnome3.gnome_keyring}/lib/security/pam_gnome_keyring.so

View File

@ -150,7 +150,7 @@ in
allowNullPassword = true;
startSession = true;
text = ''
auth required pam_env.so
auth required pam_env.so envfile=${config.system.build.pamEnvironment}
auth required pam_permit.so
account required pam_permit.so