1850473 Members
2739 Online
104054 Solutions
New Discussion

Re: FTP as a root

 
SAM_24
Frequent Advisor

FTP as a root

Hi,

FTP fails When I try to ftp into one of my server as root running 11i. Where(in which config file or ACL) should I enable access for root?

Thanks.
Never quit
5 REPLIES 5
Geoff Wild
Honored Contributor

Re: FTP as a root

Look in:

/etc/ftpd/ftpusers

do a man ftpusers

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mark Grant
Honored Contributor

Re: FTP as a root

either in /etc/ftpusers /etc/ftpaccess or /etc/inetd.conf depending on how it is being denied. Probably /etc/ftpusers.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: FTP as a root

It is a good idea to leave things that way.

ftpd does authentication in clear text.

That means when root logs on it sends the root password back and forth in clear text.

The security implications of this should be obvious.

Secure Shell and sftp will do the same job safely.

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
SAM_24
Frequent Advisor

Re: FTP as a root

I fixed the problem. It had to do with login shell.

Thanks.
Never quit
rvrameshbabu
Advisor

Re: FTP as a root

1) The FTP daemons denies logins to the user accounts that are in /etc/ftpd/ftpusers. Please remove 'root' from the file if present.

2) The login shell of user ( root in this case ) must be listed in /etc/shells , for ftp to work.