LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-28-2002, 06:56 PM   #1
mtellin
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?
Thanks!
 
Old 02-28-2002, 08:54 PM   #2
Malicious
Member
 
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.
 
  


Reply


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/Novell 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


All times are GMT -5. The time now is 03:59 AM.

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