1846707 Members
4054 Online
110256 Solutions
New Discussion

FTP Problem

 
SOLVED
Go to solution
SSP_1
Regular Advisor

FTP Problem

Hi Experts,

I am getting a problem while doing ftp to a HP N-Class server. OS is hpux11.00. It's giving an error "login failed" when trying to log in with my user id. I checked /etc/ftpusers , it's blank and also there is no file called shells in /etc directory. Does anyone have a idea ?
Obstacles exist to challenge you to keep going. Not to quit.
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: FTP Problem

remove /etc/ftpusers seeing as its empty, if its blank I think it stops everyone.

We dont have /etc/ftpusers or /etc/shells on our servers and ftp works fine.
Im from Palmerston North, New Zealand, but somehow ended up in London...

Re: FTP Problem

Hi

try to change your ftpd invocation on /etc/inetd.conf to ftpd -v -l to increase log level ..
See if you get some sort of problem description on the syslog
Together we stand divided we fall
T G Manikandan
Honored Contributor

Re: FTP Problem

check /etc/shells exist and the user shells are defined there.


V. V. Ravi Kumar_1
Respected Contributor

Re: FTP Problem

hi,
as suggested rename /etc/ftpusers file. also check the shell for that user in /etc/passwd, if it is other than standard shell like "false", /etc/shells file should exist with the false shell as an entry in that along with other shells.

Regards
Never Say No
Todd Whitcher
Esteemed Contributor

Re: FTP Problem

Hi,

Check the entry for ftpd in /etc/inetd.conf does it have the -a option? If so you might have /etc/ftpd/ftpaccess file restrictions set up. Check for /etc/ftpd/ftpaccess file if it exists verify you are not denied access..see man ftpaccess(4) for details. You can also remove the -a in /etc/inetd.conf and re-read the inetd.conf config w/ inetd -c.


radi_1
Frequent Advisor

Re: FTP Problem

Hi,
Iam not sure if this would work,but I once was faced with this problem,
try to ftp as root,if loged in ,then edit /etc/passwd and make the user's login shell simmilar to root's.
Regards.



















































































































never take simple maters for granted