[yocto] /etc/limits with openssh

Khem Raj raj.khem at gmail.com
Mon May 20 13:33:26 PDT 2019



On 5/14/19 7:47 AM, Daniel Ammann wrote:
> 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

> Thanks
> 
> Daniel
> 


More information about the yocto mailing list