Archive for January 23rd, 2008

/home/virtfs/Cpanelusername

Wednesday, January 23rd, 2008

Today, I’m going to share my experience related to title.

Above path is actually the Jailshell configuration path created by WHM when a Cpanel user was granted with shell access.

Note : Do not delete any data inside /home/virtfs/Cpanelusername as it can screw up your Cpanel server.

Reason : The /home/virtfs/ is created for user with Jailshell. Virtfs is hardlinked to some system files. By delete the data inside /home/virtfs/, you delete the actual system file they’re linked to. This is going to be bad and screw up your system file and delete other important data such as Mysql database. So, beware on this.
Shall you need to remove any shell access from any cpanel user, just navigate to WHM >> Manage Shell Access and disable Jailed Shell for users.

For your information, when we check the disk size for /home/virtfs/Cpanelusername. You will see some disk size. Imagine if there is few more cpanel user granted with Jailshell, there will few more directories create at /home/virtfs/. You will find there is more disk space after du -sh those directories. But don’t worry as it will not consume your actual server diskspace. Some advice which is /home/virtfs need to excluded from backup system.

Additionally, always be careful when run command ‘rm -rf *’. It will delete all the file with option of recursive and force. Need more information, visit here.

Hope this sharing could help someone to avoid causing error.