Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'PAM Authentication disallows FTP Login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
PAM Authentication disallows FTP Login
Authored by: richaber on Sep 29, '04 12:27:44AM

Forgive me for stating the obvious, but up until I ran across this hint and noticed the pam.d directory in the instructions, I had never actually heard of PAM Authentication before.

After digging around and wondering what the heck this hint did exactly, I decided to check the ProFTPD documentation itself, I know, a novel concept. There I found the lines in README.PAM that say --

Mac OS X

--------

To use PAM with ProFTPD, you must edit

/etc/pam.d/ftp
and add the following lines:
auth       required    pam_unix.so try_first_pass
account    required    pam_unix.so try_first_pass
session    required    pam_permit.so

Note that it does say

/etc/pam.d/ftp

and not

/etc/pam.d/ftpd

ftpd is the PAM authentication file that already exists by default in 10.3, and the hint apacor provided is simply duplicating that file to satisfy ProFTPD's requirement of having a PAM file named ftp.

Although I did not dupe ftpd the file, I created a new one named ftp with the lines exactly as they appeared in the README.PAM file, I would never have figured this out on my own.

Now I feel silly for not having read all the README files in the ProFTPD install in the first place. Thanks for putting me on the right track apacor!

[ Reply to This | # ]