Web Hosting Talk







View Full Version : Err : Must perform authentication before identifying USER


raj4800
06-13-2002, 07:38 AM
I installed Redhat 7.2. So it by default installed wu-ftpd ftp server. but its not allowing to connect thru ftp with any existing users in the system. It simple says " Must perform authentication before identifying USER" but anonymous ftp is working....does anyone have solution for this !!!


So, I uninstalled the wu-ftp and installed the proftpd but still no result....still the same error "Must perform authentication before identifying USER" when trying FTP....does anyone have solution for this....I checked the /etc/pam.d/ftp it has

###########
p#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_shells.so
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
###########
I think this file is ok...and i also tried various options but no luck !!!

priyadi
06-13-2002, 10:15 AM
What's the content of /etc/pam.d/system-auth?

raj4800
06-14-2002, 12:28 AM
content of /etc/pam.d/system-auth
#######################
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_unix.so likeauth nullok
auth required /lib/security/pam_deny.so

account required /lib/security/pam_unix.so

password required /lib/security/pam_cracklib.so retry=3 type=
password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/pam_deny.so

session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
####################

priyadi
06-14-2002, 01:08 AM
I don't know, it looks fine to me. But try configuring your authentication method from authconfig and disable any external authentication method.