From 29f62a7f5a200c482cc9fc1770254d871d21c80e Mon Sep 17 00:00:00 2001 From: Kiran Shila Date: Sat, 28 May 2022 20:54:30 -0700 Subject: [PATCH] services: pam-limits: Add sudo and sshd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/base.scm (pam-limits-service-type): Add "sudo" and "sshd" to the list. Signed-off-by: Ludovic Courtès --- gnu/services/base.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ (define pam-limits-service-type (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