guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/10: services: pam-limits: Add sudo and sshd.


From: guix-commits
Subject: 08/10: services: pam-limits: Add sudo and sshd.
Date: Sun, 5 Jun 2022 17:41:15 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 29f62a7f5a200c482cc9fc1770254d871d21c80e
Author: Kiran Shila <me@kiranshila.com>
AuthorDate: Sat May 28 20:54:30 2022 -0700

    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>
---
 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 @@ 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]