1833160 Members
3236 Online
110051 Solutions
New Discussion

Telnet access to root

 
CCIL
Frequent Advisor

Telnet access to root

How do i disable telnet for user root , the system administrator should only able to access user root using "su" command
Amit Vichare
6 REPLIES 6
Zeev Schultz
Honored Contributor

Re: Telnet access to root

touch /etc/securetty;chmod 600 /etc/securetty

So computers don't think yet. At least not chess computers. - Seymour Cray
Steve Steel
Honored Contributor

Re: Telnet access to root

Hi


To be safe make /etc/securetty and put in the word console and readable only by all

Then root can only login at the console.

If you want to allow other places add to list


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Clemens van Everdingen
Honored Contributor

Re: Telnet access to root

Hi,

Implement sudo http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/

Then change the root password and don't tell anyone.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Robert-Jan Goossens
Honored Contributor

Re: Telnet access to root

Hi,

# echo console >> /etc/securetty
# chmod 600 /etc/securetty

Robert-Jan.
Rajesh G. Ghone
Regular Advisor

Re: Telnet access to root

Hi Balbeerpasha,

Manjula ke sath sooja & rest others u do ping pong.

Regards,
Rajesh G.
Rajesh Ghone
Zeev Schultz
Honored Contributor

Re: Telnet access to root

Hm,BTW,ssh ignores this,rexec in my opinion
also.
See this on ssh :
http://online.securityfocus.com/archive/91/220014

This one on rexecd:

http://www.wretched.demon.co.uk/eighth/knowledge/hprexecd.htm
So computers don't think yet. At least not chess computers. - Seymour Cray