Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-28-2002, 06:56 PM   #1
LQ Newbie
Registered: Feb 2002
Location: Sioux Falls, SD
Distribution: RedHat 7.3
Posts: 3

Rep: Reputation: 0
Restricting FTP Users

Hey everyone, Im trying to set up my FTP server on RedHat 7.1 I set up a user, I gave them a home directory, tested it and everything works great....except....they go to their home directory(which is where I would want them to stay) but they can cd .. up to the root directory, how do I restrict it so they are only able to see their home directories and any directories they decide to make inside of it?
Old 02-28-2002, 08:54 PM   #2
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
Put the users name in /etc/ftpchroot. When the user logs into ftp, ftpd will do a chroot (change root directory) to the users home directory. Note that this is the standard ftp daemon. Others (wuftpd, etc.) may do things a little different.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting users? sdouble Linux - Newbie 5 07-05-2006 06:48 PM
Restricting su to certain users roadin SUSE / openSUSE 4 03-15-2005 12:17 PM
Restricting FTP Users to their home dir in vsftpd ~ForgottenFlux~ Linux - Software 2 09-03-2003 07:54 PM
Wu-FTP / Restricting users to one directory DJFauß Linux - Networking 0 12-22-2001 11:42 AM
restricting users to one folder flip-x Linux - Security 0 02-18-2001 05:37 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration