Results 1 to 3 of 3

Thread: Jailing vsftpd user to home directory

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Location
    Prairie Grove, Arkansas
    Posts
    22
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Jailing vsftpd user to home directory

    I have added a new user to a RHEL4 Server, and I the chroot user is uncommented and the user is listed in the plain user group.

    However, when the id is tried out for the customer (using winscp) using the login you can view the root contents.

    I want to lock the user id to only the home directory to go down but not up?

    Is this possible, so far I have not had any success with configuration.

    Any help would be greatly appreciated.

  2. #2
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    Default

    Yes it is possible, open /etc/vsftpd/vsftpd.conf and set the following to yes:
    Code:
    chroot_local_user=YES
    Restart vsftpd
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Location
    Prairie Grove, Arkansas
    Posts
    22
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by rockdalinux View Post
    Yes it is possible, open /etc/vsftpd/vsftpd.conf and set the following to yes:
    Code:
    chroot_local_user=YES
    Restart vsftpd

    I have this set so will restarting the services make this effective?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. take backup of all indiviudal user dirs seperately of /home
    By veerkumar in forum Shell scripting
    Replies: 4
    Last Post: 15th January 2008, 08:37 AM
  2. sendmail and mysql/user without home directory
    By asim.mcp in forum Getting started tutorials
    Replies: 0
    Last Post: 7th July 2007, 04:41 AM
  3. Secure vsftpd FTP permissions on anonymous user uploads
    By nixcraft in forum Getting started tutorials
    Replies: 6
    Last Post: 20th December 2006, 03:00 AM
  4. using active directory user database from Solaris
    By ganesh in forum Solaris/OpenSolaris
    Replies: 3
    Last Post: 17th November 2005, 01:04 AM
  5. FreeBSD putty home key problem
    By chiku in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 2
    Last Post: 3rd February 2005, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •