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
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_limits.so
session optional /lib/security/pam_console.so
So, limits module is there..
/etc/security/limits.conf I have this:
It´s not working, if I try to exceed the processes I get no problem.. I can run any processes that I want, even I put 0 processes..
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..