sxxxydan
24th April 2008, 19:19
I've read through hordes of forums on such a common problem with ProFTP, yet have not been able to find a solid fix.
The issue: cannot login to server via FTP with regular accounts already existing on system (however anonymous logins work fine, and I am able to login via SSH with all existing accounts).
The server: Fedora 6
The firewall: External firewall and internal iptables allow for ports
20,21,20000:20005 (passive ports).
The install: yum install proftpd
Here is what is included in /etc/pam.d/ftp
#%PAM-1.0
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
Here is what is included in /etc/pam.d/proftpd - (I added the same 3 lines from ftp to the bottom of this file, tried it with and without the previous top 5 lines)
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny
file=/etc/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
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
Please help, anything you can suggest would be appreciated.
The issue: cannot login to server via FTP with regular accounts already existing on system (however anonymous logins work fine, and I am able to login via SSH with all existing accounts).
The server: Fedora 6
The firewall: External firewall and internal iptables allow for ports
20,21,20000:20005 (passive ports).
The install: yum install proftpd
Here is what is included in /etc/pam.d/ftp
#%PAM-1.0
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
Here is what is included in /etc/pam.d/proftpd - (I added the same 3 lines from ftp to the bottom of this file, tried it with and without the previous top 5 lines)
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny
file=/etc/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
auth required pam_unix.so nullok
account required pam_unix.so
session required pam_unix.so
Please help, anything you can suggest would be appreciated.