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 Install NodeBB on a CentOS VPS?

NodeBB is an open source and powerful forum software based on the Node.js. It is very easy to...

How to Setup MySQL Master-Slave Replication on RHEL 7?

In MySQL Replication process, one server data is automatically copied to another backup server in...

How to upgrade Debian 7 (Wheezy) to 10 (Buster) version?

It is always recommended to upgrade the version to prevent any security vulnerability. You can...

R1Soft : An error occurred while loading the hcpdriver module

R1soft CDP backup allows for full server backup and you can use it to perform the bare metal...

How to allow or block the port and IP Address using Firewalld, IP tables, and UFW in Linux?

On Linux, the firewall is essential to control the incoming and outgoing network traffic. It is...

  • 0 Users Found This Useful

Was this answer helpful?