- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot telnet with 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
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-27-2009 01:56 PM
07-27-2009 01:56 PM
Cannot telnet with root login
I have HP-UX 11.31 and I am trying to telnet and ftp to it, but it seems to deny root login. I have checked inetd.conf files and services in /etc to make sure telnet is enabled. It is actually working, but it won't log me in with my system root account. Does anyone know why I cannot telnet with root? (ftp has the same problem).
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 03:08 PM
07-27-2009 03:08 PM
Re: Cannot telnet with root login
For telnet, check for the existence of the file /etc/securetty. If that file exists, and host the word 'console' in it, then root is ONLY allowed to log in directly from the console. The best practice is to log in with your own user id and then 'su' to root.
For FTP, check your FTP configuration file(s). /etc/ftpusers may be the file, but depending on your specific version of FTP it could be different. Disallowing root to FTP is also good security practice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 03:14 PM
07-27-2009 03:14 PM
Re: Cannot telnet with root login
Check for /etc/securetty file, it prohibits root login from telnet. just rename or move this file will allow your root login with telnet.
and for ftp, check /etc/ftpd/ftpusers file, is root there in its list. Delete the root from the list and it will allow you to ftp as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 04:09 PM
07-27-2009 04:09 PM
Re: Cannot telnet with root login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 07:37 PM
07-27-2009 07:37 PM
Re: Cannot telnet with root login
Telnet
=======
Check /etc/securetty file is exists, if exists rename or remove the file to allow
root user to login through telnet.
#mv /etc/securetty /etc/securetty.old
FTP
=====
Check root entry in /etc/ftpd/ftpusers file, it is there remove from that.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 08:36 PM
07-27-2009 08:36 PM
Re: Cannot telnet with root login
Most of the HP-UX 11 V3 versions are along with the trusted host enabled on it, which will cause for direct root login disable as well as ftp with root is disble.
This could be the reason.
++
Rgds
YMP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 04:57 AM
07-29-2009 04:57 AM
Re: Cannot telnet with root login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 04:59 AM
07-29-2009 04:59 AM
Re: Cannot telnet with root login
You have opened up a security hole.
/etc/securetty was put there to stop root login.
Why, because telnet authenticates in clear text. That means any user on the network can learn the root password with a simple tool to sniff the network. A tool that takes less than a minute to install in a Windows system and is standard in Unix or Linux.
You want to put that file back and log on to root as follows:
1) Log on as a regular user
2) su - root
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-29-2009 05:04 AM
07-29-2009 05:04 AM
Re: Cannot telnet with root login
Thanks for that valuable information.i had done the same thing for enabling the telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 05:20 AM
07-29-2009 05:20 AM
Re: Cannot telnet with root login
Secondly, root account should not be accessible from any place but console and that should be a last resort login when all else fail. Logging in as root is no different than logging in as regular user and using
su -
or
sudo su -
commands. You end up with the same privileges as you login directly as root.
UNIX because I majored in cryptology...