|
From: Bruce S. <bw...@ar...> - 2006-05-24 19:15:34
|
Did you check the logs, as I suggested before, to make sure you're not wasting your time with pam? I hate to "assume" pam is the problem, only to waste a ton of time and find it was something else later. Also, does anonymous access work? When you get this working, PLEASE send us your pam file (or whatever it turns to out be causing the problem) so we can add it to the DL CD. *** I'm not a pam expert either, but here are some examples that may help: >From a SuSE 10.1 box of mine: ====================================================================== #%PAM-1.0 # Uncomment this to achieve what used to be ftpd -A. # auth required pam_listfile.so item=user sense=allow file=/etc/ftpchroot onerr=fail auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed # Uncomment the following line for anonymous ftp. #auth sufficient pam_ftp.so auth required pam_unix2.so auth required pam_shells.so account required pam_unix2.so password required pam_unix2.so session required pam_unix2.so ====================================================================== >From the vsftpd source tarfile, example for a "Redhat" system: ====================================================================== #%PAM-1.0 auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed auth required /lib/security/pam_pwdb.so shadow nullok auth required /lib/security/pam_shells.so account required /lib/security/pam_pwdb.so session required /lib/security/pam_pwdb.so ====================================================================== Virtural Users example from the vsftpd source tarfile: ====================================================================== auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login account required /lib/security/pam_userdb.so db=/etc/vsftpd_login ====================================================================== - BS > I suspected that, but I don't know anything about PAM. > > I had allready tried to add that line and create an vsftpd file in > /etc/pam.d/ but I don't know exactly what comands I need to put in that > file. Do you have an Idea? > > I tried this : > > auth sufficient pam_ftp.so > auth required pam_unix_auth.so use_first_pass > auth required /lib/security/pam_listfile.so item=user sense=deny > file=/etc/vsftpd.users onerr=succeed > > the user I'm trying to login with is not in the /etc/vsftpd.users file... > > Is that ok? > Ciao > > ----- Original Message ----- > From: "Bruce Smith" <bw...@ar...> > To: <dev...@li...> > Sent: Tuesday, May 23, 2006 10:41 PM > Subject: Re: [Devil-Linux-discuss] Vsftpd - Login incorrect > > > >> I've configured my brand new Devil-Linux 1.2.9 (I was ugrading from an > >> old > >> version) and configuring vsftpd I keep getting the same problem: > >> > >> Any user I try to login (even root!) I get "530 Login Incorrect". > > > > I suspect it has something to do with PAM. > > Check your syslog messages and/or dmesg for a better error message. > > > > Or try adding this line to your vsftpd.conf file: > > > > > > pam_service_name=vsftpd > > > > > > - BS |