1825747 Members
2392 Online
109687 Solutions
New Discussion

telnet& ftp

 
donne007
Regular Advisor

telnet& ftp

I could telnet in to my linux RH7.1 box (server)but only as a user when i login as root it says "login Incorrect".
Also I could not do an ftp , it gives "connection refused" . i reinstalled ftp, could any one help how i could install and run the ftp deamon
thanx & regards
ASif
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: telnet& ftp

By default, you cannot telnet into a RH box as the 'root' user for security reasons. You are restricted to a user login, then "su -" to root.

If you are adament on wanting 'root' telnet access however, you can modify /etc/pam.d/login, and remove the line "auth required /lib/security/pam_securetty.o" (or just comment it out (#)).

As for FTP access, by default it is turned off. Issuing the commands:

chkconfig wu-ftpd on
/etc/rc.d/init.d/xinetd restart

should resolve that issue however. If that doesn't, then you'll want to look into your firewall and see if that is being blocked (see 'ipchains -L' for a starter).
One long-haired git at your service...
K.Vijayaragavan.
Respected Contributor

Re: telnet& ftp

Hi,

check the file /etc/securetty
this is used for controling root loging in from the required terminals.

check the file /etc/inetd.conf for the ftp service

check the file /etc/ftpusers
for the denied users list for ftp.

-Vijay
"Let us fine tune our knowledge together"