Operating System - HP-UX
1837895 Members
3647 Online
110122 Solutions
New Discussion

Unable to transfer files using FTP

 
Dayanand Naik_1
Occasional Advisor

Unable to transfer files using FTP

All,

I have done a fresh install of HP-UX 11.0 on L Class server. When 'm trying to transfer files using FTP it give me access denied using root login.

200 PORT command successful.
550 Access is denied.

Kindly let me know if any setting to be done.

Thanks in advance.
7 REPLIES 7
Hemmetter
Esteemed Contributor

Re: Unable to transfer files using FTP

Hi

from ftpd(1m):

The user name must be in the password data base, and not have a null password. The client must provide the correct password for the user before any file operations can be performed.

The user name must not appear in the file (see ftpusers(4)).

The user must have a standard shell returned by getusershell().

Also see ftpd(1m)'s Diagnostic section.

rdgs
HGH
Ian Lochray
Respected Contributor

Re: Unable to transfer files using FTP

Are you trying to ftp the files to or from the L class? What kind of machine is at the other end of the ftp command?
Saeid Ghanei_1
Advisor

Re: Unable to transfer files using FTP

Hi,

the root access will be denied, if the root has no password. Setup a password and try again.

Cheers
Saeid
Dayanand Naik_1
Occasional Advisor

Re: Unable to transfer files using FTP

Hi All,

I am trying to ftp files to L Class server. The root userid has a password and the client is a windows 2003 server.

I guess that should not make any diff. But still 'm not able to transfer files. I have checked /etc/ftpd/ftpusers files is blank and /var/adm/inetd.sec is not blocking any thing.

Kindly suggest.

Regards,
Dayanand Naik.
paolo barila
Valued Contributor

Re: Unable to transfer files using FTP

Hi,

maybe you have to create/edit the file:

/etc/shells

and insert the root shell

# vi /etc/shells
/usr/bin/ksh
/usr/bin/false
share share share
Rasheed Tamton
Honored Contributor

Re: Unable to transfer files using FTP

Hi,


Check /etc/ftpd/ftpusers - which restricts FTP access for specified users. This file sho
ws entries which dont have access for ftp.

ftpusers - security file for ftpd

ftpd rejects remote logins to local user accounts that are named in /etc/ftpd/ftpusers.

Regards,
Rasheed Tamton.
Rasheed Tamton
Honored Contributor

Re: Unable to transfer files using FTP

I did not see your second post.

man ftpdaccess

Check /etc/ftpd/ftpacces or /etc/ftpd/ftpaccess file

These are the ftp related files.
/etc/ftpd/ftphosts
/etc/ftpd/ftpaccess
/etc/services
/etc/inetd.conf
/var/adm/inetd.sec
/etc/ftpd/ftpusers
/etc/ftpd/ftpgroups

Regards,
Rasheed Tamton.