vsftpd nis chroot home directories

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

 



Hello,
Trying to setup vsftpd for users to upload data to a web server. 
For example.
1. Anonymous: free download from /data/web/free
2. NIS/User1
3. NIS/User2
User1's home needs to be /data/web/web1
User2's home needs to be /data/web/web2

Problem is that these users are NIS accounts and their NIS home
directory keeps overwriting my setup.  For example User1 loggs on and
vsftp sets their home as /home/facstaff/user1 which automatically errors
out with "500 OOPS:  cannot change directory: /home/facstaff/user1 Login
failed.

Any ideas? This would take 15 minutes with profptd, but I'm trying to
learn vsftpd because its redhat "standard".


Im running Redhat as3 u 4
vsftpd-2.0.1-5

/etc/vsftpd/vsftpd.conf

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
chroot_list_file=/etc/vsftpd.chroot_list
pam_service_name=vsfptd
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
user_config_dir=/etc/vsftpd/users
listen=YES
tcp_wrappers=YES
chroot_list_enable=YES

/etc/vsftpd.chroot_list
user1

/etc/vsftpd/users/user1

dirlist_enable=YES
download_enable=YES
local_root=/data/web/web1
write_enable=YES


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