Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

remove a user: its /home/virtfs/<user> don't disappear

Discussion in 'General Discussion' started by nzin, Jun 20, 2013.

  1. nzin

    nzin Registered

    Joined:
    Jun 14, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm doing some tests.
    I have create a user, let's call it "bob". And I disable shell access.
    When I try to connect via ssh, I'm rejected. no problem
    I can still connect via sftp. It is fine to me. At this point, it create a /home/virtfs/bob directory.

    I now terminate the account.
    It delete the user, the database, but not the /home/virtfs/bob directory. Why?

    I use latest version: WHM 11.38.0 (build 18)


    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can find documentation on VirtFS (Jailed Shell) at the following location:

    VirtFS (Jailed Shell)

    This includes details on how to remove it for a user.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. xavnh

    xavnh Registered

    Joined:
    Jul 7, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    We have the same problem. When we need to delete an account from Whmcs or cPanel WHM, the jailshell folder in virtfs is not deleted even after a reboot. It's really uncofortable when you manage multiple accounts. If you need to delete all this files manually, it's a nightmare.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    There are instructions under the "How to remove VirtFS" section in the document linked in my last response. It explains how to unmount a bind-mounted directory before deleting any files. Are you experiencing problems as a result of the virtfs directory that remains after an account is terminated?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice