vsftpd setup & local/virtual users, pam. PLEASE HELP!



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

-----------------------

.



Relevant Pages

  • vsftpd setup & local/virtual users, pam. PLEASE HELP!
    ... Hi, I'm working on a vsftpd setup, which is currently working well ... with several hundred virtual users. ... to allow local users to also ... Is there a way to do this, or is it a lost cause? ...
    (comp.os.linux.setup)
  • vsftpd setup & local/virtual users, pam. PLEASE HELP!
    ... Hi, I'm working on a vsftpd setup, which is currently working well ... with several hundred virtual users. ... to allow local users to also ... Is there a way to do this, or is it a lost cause? ...
    (alt.os.linux)
  • Re: Postifx and virtual users (user unknown)
    ... > You should read Postfix's VIRTUAL_README (part of the package ... I'm able to deliver to local users. ... For virtual users I use auxprop ...
    (Fedora)
  • Re: IIS backup websites
    ... > If you are using local users, all users will be lost if the machine is ... > lost, and even if you give the account the same name, it will still not be ... >> is restoration should the server break. ...
    (microsoft.public.inetserver.iis)
  • Re: migrating STS 1.0 to WSS - local users lost
    ... I am fairly sure that it's a known "feature" that user permissions are lost ... > How is it possible to migrate a site from a sts server in an old ... > domain with local users to a new server running wss? ...
    (microsoft.public.sharepoint.windowsservices)