Cant Su a user

Discussion in 'Security' started by Diego del Prado, Apr 28, 2018.

  1. Diego del Prado

    Diego del Prado New Member

    Hi guys! I´m doing the last configs on my vps to trasnfer my domains. As KH provides direct root login I would like to set a user to do su -
    I created the user and I added to the wheel group.

    Ok when I ssh to the server with the username and password, then I put su - type the root password and I get this error:

    su: cannot set user id: Resource temporarily unavailable

    Digging on forums and Google seems that is a ulimit problem. I edited the /etc/security/limits.conf and /etc/security/limits.d/20-nproc.conf files and added the username there with some specifications but no luck.

    I disabled shell bomb protection at whm and the same happens. Is there anything other place I should check?

    Thank you


Share This Page