limits are not working (limits.conf)
Well I´m trying to limit the number of processes to some users but is not working..
/etc/pam.d/sshd I have this:
/etc/security/limits.conf I have this:
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
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:
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 11:22 AM.|