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 Compress and Extract Files Using the tar Command on Linux?

It is a very easy step to create archive files with .tar.gz or .tgz files. It is also called...

How to Enable Plaintext Authentication in Dovecot?

Dovecot is an Open source IMAP or POP3 server used to create light-weight and high-performance...

How to install Git on Centos7?

Git is a famous version-control system. Git is used to tracking the changes made on your code as...

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...

Is HTML5 Supported in Your Servers?

Since HTML content has nothing to do with the web server, there are no special requirements...

  • 0 Users Found This Useful

Was this answer helpful?