#1  
Old 31st August 2005, 19:57
ProTrooper ProTrooper is offline
Member
 
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Proftpd authentication

I have installed proftpd but I don't quite know how to successfully log on. I can connect anonymously but not using a user I created. Using all default settings this is how it’s setup:

CentOS
Apache
PHP 4.4.0
MySQL
Proftpd

Added user: webadmin
Changed passwd
Modified /etc/passwd: webadmin:x:500:500::/var/www/html:/bin/false

Added to /etc/proftpd.conf:
DefaultRoot ~

chown webadmin /var/www/html

This is all it says in /log/messages:
FTP session opened.
PAM(webadmin): Authentication failure.
FTP session closed.

I know it is probably something simple I am forgetting. Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 31st August 2005, 20:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Originally Posted by ProTrooper
I have installed proftpd but I don't quite know how to successfully log on. I can connect anonymously but not using a user I created. Using all default settings this is how it’s setup:

CentOS
Apache
PHP 4.4.0
MySQL
Proftpd

Added user: webadmin
Changed passwd
Modified /etc/passwd: webadmin:x:500:500::/var/www/html:/bin/false

Added to /etc/proftpd.conf:
DefaultRoot ~

chown webadmin /var/www/html

This is all it says in /log/messages:
FTP session opened.
PAM(webadmin): Authentication failure.
FTP session closed.

I know it is probably something simple I am forgetting. Any ideas?
Maybe this thread contains the solution:

http://www.howtoforge.com/forums/sho...6&page=2&pp=10
Reply With Quote
  #3  
Old 31st August 2005, 20:21
ProTrooper ProTrooper is offline
Member
 
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Forgot to mention, I also added the /etc/pam.d/ftp file and restarted. Same error message.
Reply With Quote
  #4  
Old 1st September 2005, 16:25
ProTrooper ProTrooper is offline
Member
 
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Till, do you have any great resources that explains how to setup Proftp?
Reply With Quote
  #5  
Old 1st September 2005, 17:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Originally Posted by ProTrooper
Till, do you have any great resources that explains how to setup Proftp?
Sorry, I dont know any. Can you post your proftpd.conf here or send it to me as a private message? I will try to compare it with my working configuration. Mine is from debian, but well see
Reply With Quote
  #6  
Old 1st September 2005, 17:54
ProTrooper ProTrooper is offline
Member
 
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sent PM.
Reply With Quote
  #7  
Old 2nd September 2005, 20:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Maybe your Proftpd is authenticating against a MySQL database instead of /etc/shadow?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd config misterm Installation/Configuration 0 29th August 2005 10:28
ProFTPD Permission problems phamels Installation/Configuration 6 28th August 2005 21:00
ProFTPD potential security hole domino Server Operation 3 19th August 2005 03:25
ProFTPD Logins and Authentication pete General 9 14th August 2005 23:24
not working correctly davidg Installation/Configuration 15 11th August 2005 03:56


All times are GMT +2. The time now is 18:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.