/etc/limits with openssh
Hi
I am trying to restrict non-privileged users from using up too many resources. I added "* U100" to /etc/limits. If the user logs in using the serial console, it works. If the user logs in using openssh, the limits are not applied. How do I make this work for ssh login?
I am using beaglebone-yocto with core-image-base with added sshd. This is yocto 2.6.
Thanks
Daniel
Quoted 10 lines · Daniel Ammann
Hi
I am trying to restrict non-privileged users from using up too many resources. I added "* U100" to
/etc/limits. If the user logs in using the serial console, it works. If the user logs in using openssh, the limits are not applied. How do I make this work for ssh login?I am using beaglebone-yocto with core-image-base with added sshd. This is yocto 2.6.
if you have pam installed then you might want to experiment with settings in /etc/security/limits.conf
Quoted 4 lines
Thanks
Daniel