VSFTPD
I tried to install VSFTPD on my customer's server which run RHEL3. I stucked. Can't get it to work. The anonymous login is fine. However, if I use normal account login, it won't get me through.
After searching the net, I found that this line is missing in my vsftpd.conf:
pam_service_name=vsftpd
bah...
After realizing it, I edited my /etc/audit/pam.d/vsftpd to be read:
#%PAM-1.0
#
# pam.d/vsftpd - vsftpd configuration for EAL3/CAPP compliance
# see the Evaluated Configuration Guide for more info
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
account required pam_laus.so detach
password required pam_deny.so
session required pam_stack.so service=system-auth
...and it works... :)

0 Comments:
Post a Comment
<< Home