FTP server and PAM

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

 



Dear Sirs,
We have got instaled RedHat Linux ver.2.2.14-6. After instalation
we found following mistake. FTP server put these logs into
/var/log/messages file:

 ..... ftp[581]: PAM-listfile: Refused user admin for servis ftp
 ..... ftp[581]: failed login from 192.168.1.15
 ..... ftp[581]: FTP session closed

And his PC said:
......
Name (192.168.1.15:pc): admin
331 Password required for admin.
Password:
530 Login incorrect.
Login failed.
ftp>

User "admin" is not in "/etc/ftpusers" file. He has "/bin/false" into
passwd
file. There is raw "/bin/false" in "/etc/shells" file. His IP address
is in "/etc/hosts.allow" as raw "in.ftpd : 192.168.1.15". He put correct
password.

There are these raws in file "/etc/pam.d/ftp":

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

There are these modules in "/lib/security" directory:

pam_listfile.so
pam_shells.so
pam_pwdb.so
pam_ftp.so

There are these files in "/etc" directory:
passwd
group
shadow

That Linux server system has MD5 authentication.

I think this is all you need to know......

Be so kind and try to get me some help with fpt or PAM configuration.
There is not some modul in Linux maybe..... Usual FTP server in Linux
OS is correct. I installed this system many times and never I had not
this problem.

Thank you very much

Your faithfully		Vanek

Mopos s.r.o.
Czech Republic
URL: http://www.mopos.cz





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux