aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKiran Shila <me@kiranshila.com>2022-05-28 20:54:30 -0700
committerLudovic Courtès <ludo@gnu.org>2022-06-05 23:35:31 +0200
commit29f62a7f5a200c482cc9fc1770254d871d21c80e (patch)
tree1717385d7035301ca1b6e1f2a7f19350a0b6c49c /gnu
parentce1276073b713d30b39fd8bdf3307543b562c2ff (diff)
downloadguix-29f62a7f5a200c482cc9fc1770254d871d21c80e.tar
guix-29f62a7f5a200c482cc9fc1770254d871d21c80e.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 3fb92e6da0..f27365bbe6 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -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