1823377 Members
2680 Online
109654 Solutions
New Discussion юеВ

Ftp Login Incorrect

 
SOLVED
Go to solution
Victor Salvador
Occasional Contributor

Ftp Login Incorrect

I always connect with ftp of my server using the user root, but now i can't connect, return error "Login incorrect", how i can enabled again the root to ftp.

My OS is HP-UX 11.0
6 REPLIES 6
Kofi ARTHIABAH
Honored Contributor

Re: Ftp Login Incorrect

edit the /etc/ftpusers file and remove root from the file.

do a man ftpusers.

Good luck
nothing wrong with me that a few lines of code cannot fix!
Antoanetta Naghiu
Esteemed Contributor

Re: Ftp Login Incorrect

Is another user able to ftp?
Check /var/adm/inetd.sec in both boxes. (for details man inetd.sec)
Antoanetta Naghiu
Esteemed Contributor
Solution

Re: Ftp Login Incorrect

Ftpuser is a good point. Just a remark:
ftpusers for HP-UX 11.0 is under /etc/ftpd, so check /etc/ftpd/ftpusers
Adam Fairhall
Advisor

Re: Ftp Login Incorrect

See if there is a fille '/etc/shells'. If this file exists the only people who can ftp are those whose shell in the passwd file match a shell listed in the shells file. Check to see whether a line is included containing root's shell:
/sbin/sh

If someone has added a shell to the system such as bash they may have set up this file so that they can ftp themselves.

Adam
:->
Despite the cost of living, have you noticed how popular it remains?
Ramesh Donti
Frequent Advisor

Re: Ftp Login Incorrect

Hi,
Confirm whether root is the only user or any other user is not able to do ftp.

If none of the user can do ftp, then check that
1. your system (from where u are logging in) is not restricted for ftp service in /var/adm/inetd.sec

If root is the only user:
1. Check that root entry is not in /etc/ftpd/ftpusers file.
2. root's shell entry in password file is /sbin/sh.
3. password you have entered is correct !!!!!

Always Keep Smiling

Re: Ftp Login Incorrect

Hi,

To add to the points, FTP requires a passwd.
If the user doesn't have a passwd, ftp won't work. ( Though the chances of having no passwd for root is very rare , I just thought it's worth making this point..)

Regards,
Sundar
Life is to LEARN , not to LIVE