fix(pam): Switch to rssh for ssh-agent based PAM auth #162
1 changed files with 3 additions and 3 deletions
|
|
@ -117,11 +117,11 @@
|
|||
sudo.execWheelOnly = true;
|
||||
|
||||
pam = {
|
||||
sshAgentAuth = {
|
||||
rssh = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = [ "/etc/ssh/authorized_keys.d/%u" ];
|
||||
settings.auth_key_file = "/etc/ssh/authorized_keys.d/$ruser";
|
||||
};
|
||||
services.sudo.sshAgentAuth = true;
|
||||
services.sudo.rssh = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue