HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Proftpd authentication (http://www.howtoforge.com/forums/showthread.php?t=435)

ProTrooper 31st August 2005 19:57

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?

till 31st August 2005 20:12

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

ProTrooper 31st August 2005 20:21

Forgot to mention, I also added the /etc/pam.d/ftp file and restarted. Same error message.

ProTrooper 1st September 2005 16:25

Till, do you have any great resources that explains how to setup Proftp?

till 1st September 2005 17:03

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 :)

ProTrooper 1st September 2005 17:54

Sent PM. :)

falko 2nd September 2005 20:11

Maybe your Proftpd is authenticating against a MySQL database instead of /etc/shadow?


All times are GMT +2. The time now is 05:15.

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