- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- root login
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
Discussions
Discussions
Forums
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
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
тАО05-14-2007 12:35 PM
тАО05-14-2007 12:35 PM
I am trying to login to ma remote machine via telnet as root user. I have editted the /etc/securetty file and added pts/0.
But still i was not able to login as root.
Can somebody help me friends.
Thanks in Advance.
Jees Joy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 05:21 PM
тАО05-14-2007 05:21 PM
Re: root login
telnet is disabled by default because authentication is in clear text. That means the root password goes across the network and anybody can see it. That can't be good.
Try connecting with ssh.
If you MUST enable telnet:
cd /etc/xinetd.d
ll
You will see a file marked telnet
edit it.
change disable=yes to disable=no
service xinetd restart
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
тАО05-14-2007 06:11 PM
тАО05-14-2007 06:11 PM
Solutionyou can use the following script to add 20 pts lines to /etc/securetty file:
for i in `seq 1 20`; do echo pts/$i >> /etc/securetty; done
I join Steven , by telling that using telnet is not secured. Hope security is not an issue, otherwise consider using ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 06:53 PM
тАО05-14-2007 06:53 PM
Re: root login
Its better to use ssh for root login becasue its secure.Telnet is insecure protocol. It sends login and password in plain text format.Smart user can trap the packets and get the password,but in case you need to use telnet,then simply edit the file /etc/securetty and add the following to the end of the file:
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
This will allow up to 10 telnet sessions to the server as root.
Before doing that check your telnet service is running.I tried it on my machine its working.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2007 04:18 AM
тАО05-15-2007 04:18 AM
Re: root login
actually when I increased the number of pts/x it started working.
I wanted to use telnet for some service.
Thanks and lot friends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2007 04:21 AM
тАО05-15-2007 04:21 AM
Re: root login
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 05:20 PM
тАО05-17-2007 05:20 PM
Re: root login
If You Want To Login As Root Via Telnet.
Rename The /etc/securetty to /etc/securetty.bak