1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-17 22:55:57 +02:00

services: pam-limits: Add sudo and sshd.

* gnu/services/base.scm (pam-limits-service-type): Add "sudo" and "sshd"
to the list.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Kiran Shila
2022-05-28 20:54:30 -07:00
committed by Ludovic Courtès
parent ce1276073b
commit 29f62a7f5a
+2 -1
View File
@@ -1438,7 +1438,8 @@ information on the configuration file syntax."
(module "pam_limits.so")
(arguments '("conf=/etc/security/limits.conf")))))
(if (member (pam-service-name pam)
'("login" "su" "slim" "gdm-password" "sddm"))
'("login" "su" "slim" "gdm-password" "sddm"
"sudo" "sshd"))
(pam-service
(inherit pam)
(session (cons pam-limits