The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    6
    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:
    6
    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