Showing results for 
Search instead for 
Did you mean: 

FTP Login fails

Super Advisor

FTP Login fails

Hi All,

I am trying to ftp as prodctrl account and login is keep failing. We are using proftp-1.2.10-9.2.el4.rf

I could able to ftp as myself but not with prodctrl account.
My account is an NIS account and prodctrl is local account. Do I need to change any config file in order to enable ftp for local accounts??

Does any one has any idea???

Thanks and waiting for ur reply and it is urgent..
Valued Contributor

Re: FTP Login fails

check /etc/shells

it should have the entry for the shell corresponding to the local user.

the shell of the user can be found from /etc/passwd file.

if the shell for the user in /etc/passwd is /sbin/sh than add this path in /etc/shells also.

best of luck
abandon all hope, ye who enter here..
Steven E. Protter
Exalted Contributor

Re: FTP Login fails



If /etc/shells does not have an entry for the shell field in /etc/passwd this can lead to the problem you are experiencing.

Steven E Protter
Owner of ISN Corporation
Super Advisor

Re: FTP Login fails

Prodctrl has /bin/bash and it is in /etc/shells...any more ideas???
Padma Asrani
Honored Contributor

Re: FTP Login fails


Check if the id is in ftcusers file under /etc/ directory because if the id is there then you can't login using Prodctrl id

Super Advisor

Re: FTP Login fails

Hi Padma,

No! Prodctrl id is not in /etc/ftpusers....

Ivan Ferreira
Honored Contributor

Re: FTP Login fails

Check that the home directory exists and for prodctrl and the users has the right permissions over it.

Can you SSH as prodctrl?

What is your /etc/pam.d/proftpd configuration?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Super Advisor

Re: FTP Login fails

Hi Ivan,

Home directory for prodctrl exists with right permissions. And also I can ssh as prodctrl.

And the /etc/pam.d/proftpd file consists follows:

auth required item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required service=system-auth
auth required
account required service=system-auth
session required service=system-auth

Thanks and waiting for the response.