|
|
10.3: A fix for proftpd not allowing user login
Your tip didn't work for me... So I stumbled on... Proftpd was working fine, but not allowing anyone to get in... :-(
Suddenly I remembered another 'feature' of proftpd: users must have a valid shell! So, if you're like me then ftp users can not login via telnet or ssh or a normal shell, they're limited to ftp. In Netinfo they have been 'rewarded' a shell of /dev/null or /sbin/nologin... But those shells are standard not in /etc/shells !!! I had to manually add them to make proftpd work. What I did: Open Terminal and enter
Type your admin password when asked.
Edit the file by adding
(or whatever you have given to ftp users).Remember to add a return after the last entry! The file must end with an extra line. Now, Ctrl-O, hit Return, Ctrl-X and exit the Terminal window. That did it for me. ---
10.3: A fix for proftpd not allowing user login
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.
PAM Authentication disallows FTP Login
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:
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!
10.3: A fix for proftpd not allowing user login
Unfortunately, the fix didn't work for me. I had to:
10.3: A fix for proftpd not allowing user login
Use PureFTP and all your problems will be solved. FTP only user accounts, locked down to user-specific directories. It doesn't get any better. I was up in arms over FTP until I found PureFTP. You won't be sorry! (no I'm not the author) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.25 seconds |
|