Operating System - Linux
1830730 Members
2292 Online
110015 Solutions
New Discussion

ROOT cann't able to telnet , ftp

 
SOLVED
Go to solution
dhamodharan_1
Occasional Advisor

ROOT cann't able to telnet , ftp

Hi team,

Iam using RHEL4 , I have enabled the telnet and ftp services , but I cann't able to do telnet login and ftp login , What changes i have to made to access it.

Thanks
6 REPLIES 6
cedber
Occasional Advisor

Re: ROOT cann't able to telnet , ftp

xinetd ?
Bill Thorsteinson
Honored Contributor
Solution

Re: ROOT cann't able to telnet , ftp

Root should not be able to telnet or ftp.
Root access is typically disabled for
security reasons.

Use ssh, scp, and sftp for root access
if needed.

Install and configure sudo to allow
admin user to connect using their ids
and switch to root access when required.
Ivan Ferreira
Honored Contributor

Re: ROOT cann't able to telnet , ftp

This is normal, by default, root cannot do ftp or telnet.

Use ssh to access as root, yet is not recommended.

Use scp to transfer the files. Or change the /etc/vsftpd/ftpusers or /etc/vsftpd/user_list to enable ftp access for root.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: ROOT cann't able to telnet , ftp

if you really want to enable telnet for root, change /etc/securetty file by adding

pts/0
pts/1
pts/2


As far as I remember, deleting /etc/securetty will work too.

Rgds,
Vitaly
Sung Oh
Respected Contributor

Re: ROOT cann't able to telnet , ftp

Hello,

you can create a user otherthen root on your server and use new user's login to telnet into the server and change user to root. Or, just use SSH for root login to your server.

Sung
SJO EGGER
Regular Advisor

Re: ROOT cann't able to telnet , ftp

comment out this line in /etc/pam.d/login like this:

#auth required pam_securetty.so