limits are not working (limits.conf)
Hi..
Well I´m trying to limit the number of processes to some users but is not working.. /etc/pam.d/sshd I have this: Code:
#%PAM-1.0 /etc/security/limits.conf I have this: Code:
user hard nproc 3 I have to do something more? what could be wrong or missing? Should I put something else on the sshd configuration file?? I hope some help.. I´m using RedHat 8 Thanks.. |
What happens if you set UseLogin to "yes" in sshd_config?
|
I´ve already tried that, but when I try to login(with users there are on limits.conf) by ssh appears this:
Code:
-bash: fork: Resource temporarily unavailable |
I´ve already tried that, but
Then please *post* you've tried that. We wherent there and are way low on ESP as well. when I try to login(with users there are on limits.conf) by ssh appears this: -bash: fork: Resource temporarily unavailable What do your system logs say (please post *exact* errors)? And exactly how many nprocs where in use by that user at that point? And are you able to log in as unprivileged user that hasn't hard limit nproc set? BTW, RHL 8.x was EOL'ed a long time ago. Even support by Fedora Legacy has been suspended. Please ask yourself if you want to expose such a system to teh intarweb. If you still want (or need) to, you'll have to find, package and update everything yourself by hand. |
All times are GMT -5. The time now is 01:57 AM. |