How to fix su USER Fails With "su: cannot create child process: Resource temporarily unavailable" Error in CloudLinux?

You may face the below error while switching the accounts using su command.

su accutest
su: cannot create child process: Resource temporarily unavailable

If you are facing this issue that means CageFS (virtual file system per user) is not enabled for the same user due to that shell access is not available to the user's environment.

Please refer to the following commands to enable CageFS.

/usr/sbin/cagefsctl --enable accutest
Updating users ...

Run the su command again and now you shouldn't face the same issue again.

Want to know the difference between su and sudo user? Please refer to Linux > Sudo vs Su user for more details.

Related Articles

How to Run Multiple PHP versions with Nginx on Ubuntu?

You can run multiple php versions on Ubuntu without any issue. You require Multiple php versions...

How to Install and configure Dovecot on CentOS?

Dovecot is used to receive incoming emails on your server from Postfix. Dovecot is an open-source...

What if I exceed the bandwidth limit I am assigned with VPS?

Our system continually monitors the bandwidth usage of all our VPS. In case if your total monthly...

How to determine what is using the most disk space on a Linux server?

There are times when you receive following error while accessing the cPanel WebMail or WHM. You...

How to Upgrade PHP Version in cPanel/WHM Server?

Following article will assist you to upgrade PHP version in cPanel/WHM server. This article is...

  • 0 Users Found This Useful

Was this answer helpful?