Find the answer to your Linux question:
Results 1 to 5 of 5
I've read a lot's of howto about how to chroot users to there home directory but I still can't get it right. I use vsftpd on redhat 9. I'm a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    3

    vsftpd user chroot


    I've read a lot's of howto about how to chroot users to there home directory but I still can't get it right. I use vsftpd on redhat 9.

    I'm a newbie so keep it simple

    c4_x9

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    Re: vsftpd user chroot

    Quote Originally Posted by c4_x9
    I've read a lot's of howto about how to chroot users to there home directory but I still can't get it right. I use vsftpd on redhat 9.

    I'm a newbie so keep it simple

    c4_x9
    What exactly are you trying to accomplish?
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    3

    re:

    Well,

    When users are loging in onto the server they can look in the whole filesystem. Everything. I want the users to stay in there own home directory.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70

    Re: re:

    Quote Originally Posted by c4_x9
    Well,

    When users are loging in onto the server they can look in the whole filesystem. Everything. I want the users to stay in there own home directory.

    In Pure-ftpd chrootting happens with -A

    If i remember right.

    man vsftp could help.

  6. #5
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    Re: re:

    Quote Originally Posted by c4_x9
    Well,

    When users are loging in onto the server they can look in the whole filesystem. Everything. I want the users to stay in there own home directory.
    I would go through the vsftpd.conf file. by default they are only allowed to access their home directory. Something probably got switched. Also look in /etc/password and make sure you ftp user isn't part of another user such as root and also look at /etc/group and make sure they aren't part of a priveleged group.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

Posting Permissions

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