1836435 Members
2681 Online
110100 Solutions
New Discussion

Re: ftp login failed

 
cbozlagan
Regular Advisor

ftp login failed

I use ftp command in windows comman line to connect to HPUX like below:

c:\>ftp
ftp>open 10.4.1.1
user : ftpuser
password: ftppass

530 Login incorrect
Login failed

I did with root user to connect to HPUX
It gave same message.

What must I do for correct login?

Thanks
6 REPLIES 6
Jaime Bolanos Rojas.
Honored Contributor

Re: ftp login failed

cbozlagan,

"Can you 'ftp localhost', and then try to log in as the user, then quit and do a 'tail /var/adm/syslog/syslog.log' and post the results?"

or you could check this thread:


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97149

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: ftp login failed

Shalom,

There should be a message in /var/adm/syslog/syslog.log

I'm guessing theuser id or password is not correct.

The windows ftp client is pretty bad on top of all that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
cbozlagan
Regular Advisor

Re: ftp login failed

Hi,

I used hostname instead IP.It works properly.
My HPUX has 2 different IP. Maybe that was the problem.

Now I have different question:

ftp> chmod 777 file

How can I use chmod or similar command in ftp?

Thanks.
Matti_Kurkela
Honored Contributor

Re: ftp login failed

First, the admin of the server can disable chmod functionality in /etc/ftpd/ftpaccess configuration file.

If "chmod no" is set in the /etc/ftpd/ftpaccess file, you cannot use chmod command over FTP at all.

Second, if your FTP client does not recognize the chmod command directly, try "site chmod 777 filename". Smart FTP clients can apply the SITE extension to the chmod command automatically: very basic FTP clients can't.

Nitpick: chmod 666 or 777 is bad security. Almost always it means the user groups are not properly configured or a permission plan has failed. If your system is audited for information security, files with permissions 666 or 777 will generally require a good explanation.

MK
MK
cbozlagan
Regular Advisor

Re: ftp login failed

Hi,

I use standard DOS ftp.

Is there any method to solve authomatically in Unix.

My opinion:
Unix method realizes the file that came newly into HPUX. And changes the permissions to 777.

Is there any automatic method like I mentioned above.

Thanks
MarkSyder
Honored Contributor

Re: ftp login failed

Are you saying you want permissions to be set to 777 when you ftp a file to HP-UX? HP-UX will not allow this - that's why there are no HP-UX viruses.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing