File: fix-pam-for-debian

package info (click to toggle)
opendoas 6.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 308 kB
  • sloc: ansic: 2,427; sh: 386; yacc: 290; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Set user limits from /etc/security/limits.conf
Author: Salvatore Bonaccorso <carnil@debian.org>
Forwarded: not-needed
Index: doas/pam.d__doas__linux
===================================================================
--- doas.orig/pam.d__doas__linux
+++ doas/pam.d__doas__linux
@@ -1,4 +1,9 @@
 #%PAM-1.0
-auth            include         system-auth
-account         include         system-auth
-session         include         system-auth
+
+# Set up user limits from /etc/security/limits.conf.
+session    required   pam_limits.so
+
+@include common-auth
+@include common-account
+@include common-session-noninteractive
+