Bug 79517
Summary: | limits.conf does not have any effect in a shell that was opened by logging in with ssh | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mathias Retzlaff <bug> |
Component: | pam | Assignee: | Tomas Mraz <t8m> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jay Turner <jturner> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | jbs, srevivo, wms |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-16 12:08:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mathias Retzlaff
2002-12-12 17:17:13 UTC
i had exactly this problem myself. pam_limits was not working, in the same way, on redhat 8.0, while it did work on redhat 7.3. FWIW one thing i noticed was that if i set a user's limit LOWER than the default, eg "nofile 100", it DID get applied when the user logged in via ssh. but i could not INCREASE the limit, which is what i needed to do. (so i'd guess it's some kind of privilege issue??) thx for including that workaround ("UseLogin yes" in sshd_config). it was an effective workaround for me too. I see the same issue on RH 9 UseLogin does not appear to be an effective workaround in my environment because it is incompatible with X11Forwarding (see man sshd_config). I don't se the problem with current pam and openssh as of Fedora Core 2. |