[email protected] wrote:
On 05/30/2016 03:11 AM, Pierre Labastie wrote:
On 30/05/2016 08:24, [email protected] wrote:
If PAM is enabled for vsftpd, according to the file "INSTALL", we have
to copy the the file RedHat/vsftpd.pam to /etc/pam.d/ as follows:
cp RedHat/vsftpd.pam /etc/pam.d/ftp
Otherwise, we cannot use the existing accounts to login the FTP server.
I'll file a ticket for that (so that we do not forget). Thanks for the
report.
Pierre
I don't think that will be an appropriate PAM config for LFS. I haven't
looked, but probably just include system-login.
--DJ
Here is the content of the file "RedHat/vsftpd.pam":
#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user sense=deny
file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_unix.so shadow nullok
auth required /lib/security/pam_shells.so
account required /lib/security/pam_unix.so
session required /lib/security/pam_unix.so
I looked at the ticket yesterday and it seems that the file would be OK
for BLFS as is.
I don't use non-anonymous ftp so I haven't tested, but I can do that if no
other editor wants to do it.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page