1834882 Members
2136 Online
110071 Solutions
New Discussion

FTP Issues

 
xcvzxvzxdv
Advisor

FTP Issues

When I give -a option in inetd.conf to enable /etc/ftpd/ process am unable to login even via root. Could any export guide what I am doing wrong.
6 REPLIES 6
RAC_1
Honored Contributor

Re: FTP Issues

When you add -a option to ftpd, it reads file ftpaccess in /etc/ftpd dir. Also for denying ftp access a user can be added to /etc/ftpd/ftpusers file. Check if your user_name is there or not.

man ftpd
man ftpusers
man ftphosts
man ftpaccess for details.
There is no substitute to HARDWORK
xcvzxvzxdv
Advisor

Re: FTP Issues

there is no ftpusers and ftpaccess file
RAC_1
Honored Contributor

Re: FTP Issues

The user can be denied ftp access using /etc/ftpd/ftpaccess file also. Check that.
There is no substitute to HARDWORK
Ninad_1
Honored Contributor

Re: FTP Issues

Hi,

When you use the -a flag with the ftpd daemon, it enables use of the /etc/ftpd/ftpaccess file. What are the contents of your ftpaccess file ?
You can alternatively remove the -a flag and restart the inetd deamon, or check in ftpaccess file why its not allowing.
Please also refer to man ftpd and ftpaccess for more understanding.

Regards,
Ninad
Jaime Bolanos Rojas.
Honored Contributor

Re: FTP Issues

If you do not find your ftpaccess file in /etc/ftpd directory, then just create the file with vi and then edit the file with the instructions given by: man ftpaccess.
Same thing for the ftpusers file.

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

Re: FTP Issues

Shalom,

ftpaccess is the only way to give ftp access to root, using the stock wu-ftpd daemon that ships with HP-UX.

Might as well open the door and say come on in, because every time you ftp to the server with root and authenticate, the root password is broadcast in clear text to anyone on the network.

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