linux noob question

Discussion in 'Site & Server Administration' started by pc_user, Jan 30, 2007.

  1. #1
    When I create a user, and the user ftp's into their site, they can still see everything on the server. How do I lock the user into their own directory when they ftp into the site?
     
    pc_user, Jan 30, 2007 IP
  2. nicolas9510

    nicolas9510 Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    did you add a user via cpanel or plesk? if so, they are only allowed to be in their /home/username folder
    they cannot go looking around folders that are at the root of the hard drive.
    if you just added a user via the useradd or adduser command, they you would need to jail them into their home dir's.
    i dont know how to do this though
     
    nicolas9510, Jan 31, 2007 IP