Hi folks,
<div><br></div><div>I can't seem to log into my system via vsftpd. All other services using PAM are fine...Am I missing something simple?</div><div><br></div><div><div>ftp> user</div><div>(username) user</div><div>
331 Please specify the password.</div><div>Password: </div><div>530 Login incorrect.</div><div><br></div></div><div><br></div><div><br></div><div><div># getenforce </div><div>Permissive</div><div><br></div></div><div>here is the event in /var/log/audit/audit.log:</div>
<div>type=USER_AUTH msg=audit(1247235151.569:9781): user pid=21052 uid=0 auid=0 subj=root:system_r:ftpd_t:s0 msg='PAM: authentication acct="user" : exe="/usr/sbin/vsftpd" (hostname=hostname, addr=1.2.3.4, terminal=ftp res=failed)'</div>
<div><br></div><div><div> cat /etc/pam.d/vsftpd</div><div>#%PAM-1.0</div><div>session optional pam_keyinit.so force revoke</div><div>auth required<span class="Apple-tab-span" style="white-space:pre"> </span>pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed</div>
<div>auth required<span class="Apple-tab-span" style="white-space:pre"> </span>pam_shells.so</div><div>auth include<span class="Apple-tab-span" style="white-space:pre"> </span>system-auth</div><div>account include<span class="Apple-tab-span" style="white-space:pre"> </span>system-auth</div>
<div>session include<span class="Apple-tab-span" style="white-space:pre"> </span>system-auth</div><div>session required pam_loginuid.so</div><div><br></div><div><div># grep local /etc/vsftpd/vsftpd.conf</div><div>
local_enable=YES</div><div>local_umask=022</div><div>chroot_local_user=YES</div><div><br></div><div><div># getsebool -a | grep ftp</div><div>allow_ftpd_anon_write --> off</div><div>allow_ftpd_full_access --> off</div>
<div>allow_ftpd_use_cifs --> off</div><div>allow_ftpd_use_nfs --> off</div><div>allow_tftp_anon_write --> off</div><div>ftp_home_dir --> on</div><div>ftpd_disable_trans --> off</div><div>ftpd_is_daemon --> on</div>
<div>httpd_enable_ftp_server --> off</div><div>tftpd_disable_trans --> off</div><div><br></div></div><div><br></div></div></div>