l usershadow: remove legacy pamEnvironment
This commit is contained in:
parent
9f6c37f21c
commit
d33c92fe21
@ -28,15 +28,12 @@
|
|||||||
session required pam_permit.so
|
session required pam_permit.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
security.pam.services.dovecot2 = {
|
security.pam.services.dovecot2.text = ''
|
||||||
text = ''
|
auth required pam_exec.so expose_authtok /run/wrappers/bin/shadow_verify_pam ${cfg.pattern}
|
||||||
auth required pam_exec.so expose_authtok /run/wrappers/bin/shadow_verify_pam ${cfg.pattern}
|
auth required pam_permit.so
|
||||||
auth required pam_permit.so
|
account required pam_permit.so
|
||||||
account required pam_permit.so
|
session required pam_permit.so
|
||||||
session required pam_permit.so
|
'';
|
||||||
session required pam_env.so envfile=${config.system.build.pamEnvironment}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
security.wrappers.shadow_verify_pam = {
|
security.wrappers.shadow_verify_pam = {
|
||||||
source = "${usershadow}/bin/verify_pam";
|
source = "${usershadow}/bin/verify_pam";
|
||||||
|
Loading…
Reference in New Issue
Block a user