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 Hide Your NGINX Server Version.

Sometimes hackers target your server with a technic called banner grabbing. Usually, banner...

How To Install Docker on Ubuntu 18.04?

Docker is a container-based tool used to create, deploy, and run the applications by using...

How to remove Swap Space from Centos 7.x?

Please refer to the following steps to remove Swap space from Centos 7.x At first, check if...

How to install CentOS Web Panel on CentOS 7.x

This article will guide you on how to install CentOS Web Panel on CentOS 7.xCentOS web panel is...

How to Move Accounts From One cPanel Server To Another cPanel server?

cPanel facilitates you with the built-in Transfer Tools which allow you to migrate your existing...

  • 0 Users Found This Useful

Was this answer helpful?