Operating System - Linux
1748223 Members
4573 Online
108759 Solutions
New Discussion юеВ

Re: Enable telneting and ftp for root on RH3

 
SOLVED
Go to solution
Basso_1
Advisor

Enable telneting and ftp for root on RH3

hi. How can i enable telnet and ftp for the root? I can telnet from windows pc using any other users then root.
How to login using root?
Thanks for any help
3 REPLIES 3
Sergejs Svitnevs
Honored Contributor
Solution

Re: Enable telneting and ftp for root on RH3

for root login via telnet simply edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1

This will allow up to 2 telnet sessions to the server as root.

for root login via ftp simply remove "root" line from /etc/vsftpd.ftpusers.

Regards,
Sergejs
dirk dierickx
Honored Contributor

Re: Enable telneting and ftp for root on RH3

telnet is probably not installed and it will not be turned on by xinetd. and for good reasons!
telnet is insecure, if you use it for root access it's even worse. use ssh and scp, and try to avoid usage of the root account by implementing sudo.
Steven E. Protter
Exalted Contributor

Re: Enable telneting and ftp for root on RH3

Shalom Basso,

Two horrible ideas. openssh replaces both packages and is secure.

FTP is controlled by /etc/vsftpd.conf or /etc/vsftpd/vsftpd.conf

Telnet is fixed thus:

cd /etc/xinetd.d

There is a file for telnet

vi it.

change disable=yes to disable=no

save

service xinetd restart
service vsftpd restart

Done.

Good Luck.

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