Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

If you are getting the below error while switching the user,

#su -
su: cannot set user id: Resource temporarily unavailable

You can solve the issue by editing the file limit.conf.

For that,

vi /etc/security/limit.conf

Now edit the values you seen in the file as below,

*    soft    nproc    2047
*    hard    nproc    16384
*    soft    nofile    2048
*    hard    nofile    65536

Now try to re login as normal user and try switching as super user.

Need our help to fix the issue ? Submit Support Ticket Now

[sep][/sep]

[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]