
31st August 2005, 20:57
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

31st August 2005, 21:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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
|

31st August 2005, 21:21
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Forgot to mention, I also added the /etc/pam.d/ftp file and restarted. Same error message.
|

1st September 2005, 17:25
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Till, do you have any great resources that explains how to setup Proftp?
|

1st September 2005, 18:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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
|

1st September 2005, 18:54
|
|
Member
|
|
Join Date: Aug 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sent PM.
|

2nd September 2005, 21:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Maybe your Proftpd is authenticating against a MySQL database instead of /etc/shadow?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:17.
|
Recent comments
1 day 5 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 18 hours ago