1826373 Members
4349 Online
109692 Solutions
New Discussion

Re: Can not ftp

 
simon wickham_3
Occasional Contributor

Can not ftp

Hi

I am trying too ftp to my server and the following message appears :

530 User root access denied...
Login failed.
Remote system type is UNIX.

I have checked /etc/inetd.conf and under ARPA/Berkley services this is not hashed out nor is there a dir under /etc/ftpd called ftpusers.
The fact is some users can access this but root is barred can anyone please advise.

Regards
Simon
Unix Systems administrator
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: Can not ftp

Hi Simon,

If you are typing in the root password correctly, then check the shell root uses in /etc/passwd file. Make sure that you have a file called /etc/shells and has the shell in it.

$Cat /etc/shells

/usr/bin/ksh
/sbin/sh
/usr/bin/false

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Uday_S_Ankolekar
Honored Contributor

Re: Can not ftp


Hi,

Edit the /etc/inetd.conf and remove the "-a" option from the "ftp" entry. An example entry should look similar to:

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l

Reread the inetd.conf file:

# /usr/sbin/inetd -c


-USA..
Good Luck..
Sanjay_6
Honored Contributor

Re: Can not ftp

hi,

Make sure "root" name is not mentioned in /etc/ftpd/ftpusers file. Any user name maneioned in /etc/ftpd/ftpusers is denied ftp access to the system.

hope this helps.

Regds
Sanjay_6
Honored Contributor

Re: Can not ftp

hi,

you may have to run "inetd -c" once you have removed the root user name from the /etc/ftpd/ftpusers file.

Hope this helps.

Regds
simon wickham_3
Occasional Contributor

Re: Can not ftp

Hi Sri

Thanks for that some one had chaned the /etc/passwd to /bin/sh rather than /sbin/sh.

Regards
Simon
Unix Systems administrator
simon wickham_3
Occasional Contributor

Re: Can not ftp

Thanks all ...........

Now working.

Regards
Simon
Unix Systems administrator