RE: vsFTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
> -----Original Message-----
> From: Jason Luker [mailto:jluker@xxxxxxxxxx]
> Sent: Wednesday, April 14, 2004 3:37 PM
> To: redhat-list@xxxxxxxxxx
> Subject: vsFTP
> 
> 
> I have vsFTp up and running on RH9, but am having some issues with the
> permissions. I want to be able to allow anonymous login, but 
> they should
> only have access to the pub directory. I also want for users on the
> system to be able to login with their username & pw, but I don't want
> them to see anything other than the contents of the pub 
> directory or the
> usr directory. 

set these in vsftpd.conf:

anonymous_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
local_root=/home/ftp

this sets the anonymous ftp user and all local users to be chrooted 
to /home/ftp. the file /etc/vsftpd.chroot_list will then be a list 
of users you don't want to be chrooted to /home/ftp. you just add 
the username (ie. add user "jason" if u don't want him to get stuck
in /home/ftp.


now, adding another directory as an ftp root - i have no idea how to 
do that in vsftpd.

> Anyone know where I can get a good sample vsftp.conf for 
> similar access
> or can anyone point me to a good resource to help me with the config?

there are example config files in the doc dir of vsftpd in your system.
better check
them off first.


hth.

/erik


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux