Visit Jeremy's Blog.
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 06-18-2002, 03:18 PM   #1
LQ Newbie
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
FTP - setting top level dir

I am attempting to give FTP access to a user but am having trouble setting the top level directory for that user...

I am running RH6.2 and wuftpd wu-2.6.0(1)

I created a new user then edited /etc/passwd


(I also added /bin/false to /etc/shells)

Permissions on user's home dir is OK...

I can FTP in from a remote box but can issue
ftp> cd /
and ls the root directory on the box. I want this user restricted to the directory specified in /etc/passwd !!

Any help/suggestions??

Oh... I've been looking at docs for... um, longer than I should be...

Old 06-18-2002, 05:58 PM   #2
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Search the forums. This has been addressed 4 times in the last week alone.
Old 06-18-2002, 07:17 PM   #3
LQ Newbie
Registered: Jun 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks... I guess I wasn't searching hard enough....

Anyhow, the solution was simple...

in /etc/ftpaccess I added:

realgroup ftpguy
realuser ftpguy
restricted-uid ftpguy

and it worked... the directory that the user gets when they log in is their top level directory....



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
Contain level firwall setting vivekthemind Linux - Security 1 10-06-2005 09:55 AM
Missing top level topics in yelp for some users in RH9 timyaukey Red Hat 0 01-03-2005 09:30 AM
DNS & Top Level Domain JJX Linux - Networking 2 03-28-2004 08:56 AM
ftp from the top waffe Linux - General 5 09-27-2003 06:20 PM
OS Level Proxy setting pickledbeans Linux - General 1 07-08-2002 04:50 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration