- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: telnet/root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2003 03:11 PM
07-26-2003 03:11 PM
10x
RPM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2003 06:52 PM
07-26-2003 06:52 PM
SolutionConsole root login is permitted, telnet root login is not.
The reason for this is because telnet transmits passwords back and forth to the terminal in clear text, even if that person is on the other end of the public internet.
This makes your root password vulnerable.
You really should not change this default. You can use secure shell, PuTTY windows client and do direct login as root.
Now that I've lectured you, here is how to change it, should you wish to compromise security.
There is a file called /etc/securetty
In it is a list of the terminals root is allowed to login on. Add the terminals or psuedo terminals that telnet uses to this file.
Please don't do this.
I will be happy to provide you information on how to do what you wish securely.
Steve "I work for points" Protter
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2003 07:01 PM
07-26-2003 07:01 PM
Re: telnet/root
But the reason why direct root login is disabled is not because of passwords being transferred over plain text.
Even if he logins in as a normal user and then does a su, the password can be trapped.
the whole idea is that a hacker needs to break in two passwords to get root access on a box. it kind of increases the security, which anyhow was not there.
and ssh is the way to go.
cheers
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2003 09:56 PM
07-26-2003 09:56 PM
Re: telnet/root
1.
you can edit the /etc/pam.d/rlogin file and comment out the line:
auth required /lib/security/pam_securetty.so
which will disable the use of the securetty file altogether.
( Very much _not_ recommended, but I thought I should mention it )
2.
if you edit /etc/securetty
and add pts[0-f] ( formerly ttyp[0-f] ) you should be able to login as
root via telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 04:20 AM
07-27-2003 04:20 AM
Re: telnet/root
'man ssh' explains everything.
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 09:26 PM
07-27-2003 09:26 PM
Re: telnet/root
I am also facing same problem and after taking mantion steps also i am not able to login through telnet.
/etc/pam.d/rloging and /etc/secutty file is attached.
Please look into these files and tell me where i am wrong.
Thansk in advance
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 02:22 AM
07-28-2003 02:22 AM
Re: telnet/root
my bit of caution.
-b-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 12:26 PM
07-28-2003 12:26 PM
Re: telnet/root
If the security doesn't metter to you
you can remove the /etc/securetty
then all would allowed.
Caesar