diff options
author | Colin Watson <cjwatson@debian.org> | 2004-03-01 03:21:10 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-03-01 03:21:10 +0000 |
commit | 4d4421e0ed7e00c66e4cd714d93ed87b000ed031 (patch) | |
tree | 84d82590031ef986f6b977463e4d7d9b53849435 /debian/ssh.pam | |
parent | d66ce7c93847d7fd57d14848b0914228c4c5c841 (diff) |
Since PAM session modules are run as root, we can turn pam_limits back on
by default, and it no longer spits out "Operation not permitted" to syslog
(closes: #171673).
Diffstat (limited to 'debian/ssh.pam')
-rw-r--r-- | debian/ssh.pam | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/ssh.pam b/debian/ssh.pam index 81c18371e..8882053df 100644 --- a/debian/ssh.pam +++ b/debian/ssh.pam | |||
@@ -22,9 +22,8 @@ session optional pam_motd.so # [1] | |||
22 | # Print the status of the user's mailbox upon successful login. | 22 | # Print the status of the user's mailbox upon successful login. |
23 | session optional pam_mail.so standard noenv # [1] | 23 | session optional pam_mail.so standard noenv # [1] |
24 | 24 | ||
25 | # Set up user limits. Uncomment this and read /etc/security/limits.conf to | 25 | # Set up user limits from /etc/security/limits.conf. |
26 | # enable this functionality. | 26 | session required pam_limits.so |
27 | # session required pam_limits.so | ||
28 | 27 | ||
29 | # Standard Un*x password updating. | 28 | # Standard Un*x password updating. |
30 | @include common-password | 29 | @include common-password |