[PATCH] Add sudo and sshd to pam-limits applications

DoneSubmitted by Kiran Shila.
Details
2 participants
  • Ludovic Courtès
  • Kiran Shila
Owner
unassigned
Severity
normal
K
K
Kiran Shila wrote on 29 May 05:54 +0200
(address . guix-patches@gnu.org)(name . Kiran Shila)(address . me@kiranshila.com)
20220529035430.753901-1-me@kiranshila.com
---
gnu/services/base.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 3fb92e6da0..9a207bbaba 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1438,7 +1438,7 @@ (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
-- 
2.36.1
L
L
Ludovic Courtès wrote on 5 Jun 23:31 +0200
(name . Kiran Shila)(address . me@kiranshila.com)(address . 55697-done@debbugs.gnu.org)
87bkv6er10.fsf@gnu.org
Hi,

Kiran Shila <me@kiranshila.com> skribis:

Toggle quote (15 lines)
> ---
> gnu/services/base.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/services/base.scm b/gnu/services/base.scm
> index 3fb92e6da0..9a207bbaba 100644
> --- a/gnu/services/base.scm
> +++ b/gnu/services/base.scm
> @@ -1438,7 +1438,7 @@ (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"))

I added a commit that follows our conventions and applied it.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 55697@debbugs.gnu.org