Opened 9 years ago
Closed 9 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 , 9 years ago
comment:2 by , 9 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 , 9 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 , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
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).