vsftpd setup & local/virtual users, pam. PLEASE HELP!
- From: beardo265@xxxxxxxxxxx
- Date: 28 Jan 2007 03:35:22 -0800
Hi, I'm working on a vsftpd setup, which is currently working well
with several hundred virtual users. The problem is, we now want
local users to also be able to log in and have full access as they
should. I've tried MANY different ways to do this, but with no
success at all. Is it possible then, to allow local users to also
have access? I've only got a couple local users who need access, but
nothing I do seems to work. The best I've been able to do, the best
I've been able to do is set up custom vsftpd_user_conf files for my
local users, and add their login/passwords to the virtual users, but
this still makes them logged in as "guest" with no proper access to
their own files. Is there a way to do this, or is it a lost cause?
I've posted as many config files below as I could think to. If
anything else would be useful, I'll post.
ANY help or suggestions would be greatly appreciated. Alternately,
suggestions of an ftp package (I'm running redhat FC4) that could do
what I want, would help.
Thanks!
-----------------------
vsftpd.conf:
-----------------------
xferlog_enable=YES
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
chroot_local_user=NO
guest_enable=YES
local_umask=022
#guest_umask=022
anon_umask=022
guest_username=guest
listen=YES
listen_port=21
pasv_min_port=30000
pasv_max_port=30999
user_config_dir=/etc/vsftpd_user_conf
-----------------------
files within /etc/vsftpd_user_conf
-----------------------
dirlist_enable=YES
download_enable=YES
local_root=/this/users/root
write_enable=YES
local_umask=022
-----------------------
/etc/pam.d/ftp
-----------------------
auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd_login
-----------------------
/etc/pam.d/vsftpd
-----------------------
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/
vsftpd.ftpusers onerr=succeed
auth required pam_stack.so service=system-auth
auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
-----------------------
.
- Prev by Date: Re: my 56k dialup internal modem (V.92 Data/Fax/Voice) is not working on linux
- Next by Date: Load Average, cpu idel and performance
- Previous by thread: File Manipulation in Linux
- Next by thread: Load Average, cpu idel and performance
- Index(es):
Relevant Pages
|
|