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

Click here to return to the '10.3: A fix for proftpd not allowing user login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: A fix for proftpd not allowing user login
Authored by: apacor on Nov 09, '03 11:54:14PM

Thanks for continuing this thread. I posted the original hint out of frustration for not finding anything helpful on the web, and since I stumbled on a fix I thought I could share.

I would like to add that my fix worked for me with proftpd 1.2.8p. It would not work with 1.2.9 (latest). I couldn't make your fix work either with the latest release.

Anyway, I since thought that a link would be a cleaner way of fixing the problem (provided my fix works at least for some people out there). Open a Terminal and type:

cd /etc/pam.d
sudo ln ftpd ftp

This will simply create a link to the "ftpd" file and call it "ftp." It worked for me.

[ Reply to This | # ]
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

and add the following lines:
auth       required try_first_pass
account    required try_first_pass
session    required

Note that it does say


and not


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 | # ]