LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2004, 03:26 PM   #1
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
Apache FTP permissions question


I have a user loggin into my apache FTP, and I'm not sure how to set permissions for it.

Right now he FTP's to /home/username (this is good), but he can navigate up the tree to /home, /, /etc, and everything else.

I'd just like to restrict him so that he can't go any higher up than /home/hisusername, but obviously into any folders under that ( /home/hisusername/rtfm-seventh ).

Thanks much for any insight.
 
Old 05-20-2004, 04:09 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
What FTP are you using? in VSFTPD (that comes with redhat or fedora) you should edit /etc/vsftpd/vsftpd.conf file wher it says chroot_list_file and make it point to a file of your choice (place it into /etc folder)

In that file you should write the usernames of users you want access limited to their home directory (one user per line).

HEre is my vsftpd.conf file expunge:

chrot_list_file=/etc/vsftpd.chroot_list


If you are using any other ftp client, just locate it's conf file and set it up like this or so.
 
  


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
FTP Permissions varunbihani Linux - General 2 03-24-2005 10:34 AM
FTP permissions question Seventh Linux - Newbie 9 06-23-2004 04:55 PM
FTP Permissions Wynd Linux - General 4 11-04-2003 09:53 PM
apache permissions question bkeating Linux - Software 1 05-12-2003 04:09 AM
Got pretty far, but just short of goal...Apache/FTP Question(s) -G- Linux - Newbie 3 03-19-2003 10:56 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration