[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh login can't apply /etc/security/limits.conf

Hello list,

I am trying to configure the user resource restriction in 
/etc/security/limits.conf. I believe the configuration has no problem, but 
when the user ssh login, the session will not include the limits in the 
limits.conf file.

BTW, I checked the /etc/pam.d/login and /etc/pam.d/ssh file.
Both have this line in it:
session    required     pam_limits.so

Is there anything I missed?

Reply to: