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!

SFTP/SCP and virtfs problems

Discussion in 'General Discussion' started by utropic, Jan 1, 2008.

  1. utropic

    utropic Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    We have a user that has a jailshell that is uploading things to the /home/virtfs/<username? directory as it appears it is not linked to the real location of their home directory on another hard drive on the machine.


    Any thoughts?
     
  2. utropic

    utropic Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    something else that is not cool - even after we remove SSH access from that user account they can still SCP/SFTP...
     
  3. utropic

    utropic Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    we found a possible solution:
    Code:
    
    for mnt in `cat /proc/mounts | grep virtfs| awk -F' ' '{print
     $2}'`; do umount $mnt; done

    If we don't post a follow-up, it's fixed.


    We think a user was using SFTP during a recent data migration in which we ran fixquotas.
     
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