LinuxQuestions.org
Help answer threads with 0 replies.
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 12-28-2005, 09:08 AM   #1
ataucuc
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
ftp permissions access only in the one directory


hi

We need change the permitions or configuration in the ftp directory or in my vsftpd.conf file. The default ftp directory is /var/ftp/pub. When the user login to the server move to all path of my server example go to the home diectory, go to the sbin directory, etc. we need deny this access , only the user access to the one directory for examples ftp_directory. its possible ?

thank and regards

Carlos
 
Old 12-29-2005, 11:53 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
It sounds like you want to prevent people logged into ftp via a local user account from moving around the file system. If that is correct then I found this information in the /etc/vsftpd.conf file.

#
# Uncomment to put local users in a chroot() jail in their home directory
# after login.
#
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#
#chroot_list_enable=YES
#
# (default follows)
#
#chroot_list_file=/etc/vsftpd.chroot_list
#

On the other hand if you want all users to use the chroot jail pub directory then why not have them all use the ftp anonymous account?

Last edited by stress_junkie; 12-29-2005 at 11:56 AM.
 
  


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 access only in the one directory ataucuc Linux - Newbie 1 12-27-2005 05:29 PM
FTP Change Directory Permissions rubbercash Linux - Networking 5 07-29-2004 05:54 PM
RW access to a directory via FTP using ProFTPD borbzz Linux - Software 4 05-11-2004 11:23 PM
Permissions, File, Directory access tHcnunz Linux - Newbie 3 03-26-2004 10:25 AM
FTP exclusive directory access allancondino Linux - General 3 05-02-2002 07:15 AM


All times are GMT -5. The time now is 07:17 AM.

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