sudo-rs: add pam.services.su-l for su -l (#431219)

This commit is contained in:
Adam C. Stephens
2025-08-24 16:58:52 -04:00
committed by GitHub
+14 -7
View File
@@ -298,13 +298,20 @@ in
environment.systemPackages = [ cfg.package ];
security.pam.services.sudo = {
sshAgentAuth = true;
usshAuth = true;
};
security.pam.services.sudo-i = {
sshAgentAuth = true;
usshAuth = true;
security.pam.services = {
su-l = {
rootOK = true;
forwardXAuth = true;
logFailures = true;
};
sudo = {
sshAgentAuth = true;
usshAuth = true;
};
sudo-i = {
sshAgentAuth = true;
usshAuth = true;
};
};
environment.etc.sudoers = {