Opened 8 years ago

Closed 8 years ago

#7896 closed defect (fixed)

PAM stting for vsftpd

Reported by: Pierre Labastie Owned by: DJ Lucas
Priority: normal Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

From hykwok1@… on -dev:

If PAM is enabled for vsftpd, according to the file "INSTALL", we have to copy 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.

Change History (5)

comment:1 by DJ Lucas, 8 years ago

In the thread on blfs-dev, I mentioned that the shipped PAM config file is not appropriate for BLFS. I should have expanded that a bit. The file as shipped should work if you have not extended your system PAM configuration, for instance adding additional authentication sources (possibly others). The proper fix is to create a new vsftpd file that includes the auth check on /etc/ftpusers, and system-{auth,account,session} (or individual entries if system-{account,session} are not appropriate, auth should be).

comment:2 by bdubbs@…, 8 years ago

You know more about this than I do. I generally do not use pam, or only use the default config files. Can you go ahead and fix this up properly?

comment:3 by DJ Lucas, 8 years ago

Sure will. I've been meaning to go over the entire PAM config for about a year now. This is as good a place as any to start. Probably be a day or two, but will get it this weekend.

comment:4 by DJ Lucas, 8 years ago

Owner: changed from blfs-book@… to DJ Lucas
Status: newassigned

comment:5 by DJ Lucas, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed in #17441.

Note: See TracTickets for help on using tickets.