mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05: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:
parent
ce1276073b
commit
29f62a7f5a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue