1834639 Members
2564 Online
110069 Solutions
New Discussion

Re: Limiting Root login

 
SOLVED
Go to solution
Andrew Moody_1
Regular Advisor

Limiting Root login


I've inherited some systems (7410,5470,3440 etc etc) that seem to prevent you being able to telnet to and login as root. You can login as your own username and su to root but you can't login as root as the telnet prompt.

Any ideas how this has been achieved?

With thanks
A sobering thought: What if, right at this very moment, I am living up to my full potential?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Limiting Root login

Hi Andrew:

You may have an '/etc/securetty' file, then root is allowed to log in successfully only on the tty devices listed in this file. Commonly, the file contains only "console".

Regards!

...JRF...
Arunvijai_4
Honored Contributor

Re: Limiting Root login

Edit or create /etc/securetty and add this content,

/dev/console

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devender Khatana
Honored Contributor

Re: Limiting Root login

Hi,

As mentioned above this is restricted through /etc/securetty. Either add the entry of tty where you wish root login or you can rename this file and root shall be allowed all over.

HTH,
Devender
Impossible itself mentions "I m possible"
Andrew Moody_1
Regular Advisor

Re: Limiting Root login


Cheers Gents, once again you come to my rescue
A sobering thought: What if, right at this very moment, I am living up to my full potential?