- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet and restricting root access
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
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
тАО06-25-2002 07:37 AM
тАО06-25-2002 07:37 AM
telnet and restricting root access
The db admin thinks that the last sys admin changed some global variable or enviroment parameter to disallow root access to telnet.
Is anyone aware of how this may be done?
Thanks. C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:40 AM
тАО06-25-2002 07:40 AM
Re: telnet and restricting root access
Look at the contents of /etc/securetty file. It restricts the login for root.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:41 AM
тАО06-25-2002 07:41 AM
Re: telnet and restricting root access
Look for the file "securetty" in /etc. If this file exist and if it has an entry console in it, you can login as root only from the console. From all other tty, you can login as some other user and then do a "su -" to go as root.
If you want to login as root using telnet, you can move this file out of the way, delete it or rename it and then do a telnet to the system as root.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:41 AM
тАО06-25-2002 07:41 AM
Re: telnet and restricting root access
you can use SAM to find out. Go to security and then check it out for telnet service. You can disable access with a lot of services for all, for specified networks, for hosts or for users.
But remember, telnet as root is a security hole!!! Telnet service uses no data encryption so better login as normal user and then make a switch user with su- command.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:41 AM
тАО06-25-2002 07:41 AM
Re: telnet and restricting root access
/etc/securetty
This contains a list of all terminals from which a user may login directly as root. Chances are it just has the word "console" in it, which means you can only log in as root from the console.
To remove this protection, delete the file (DON'T just take the console line out of the file, that will prevent login directly as root from anywhere!)
I would advise against this however... much better practice is to login as a normal user, and then use 'su -' to become root.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:42 AM
тАО06-25-2002 07:42 AM
Re: telnet and restricting root access
Check for 'etc/securetty'. If it exists this may be your problem. You would find a line:
root console
This would allow root to login to the console (only).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:44 AM
тАО06-25-2002 07:44 AM
Re: telnet and restricting root access
1. Check for the ipaddresses in /etc/hosts
2. Check the /etc/securetty file
3. Check the .rhosts file in the roots home directory
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 07:49 AM
тАО06-25-2002 07:49 AM
Re: telnet and restricting root access
just delete that file or rename it.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 08:01 AM
тАО06-25-2002 08:01 AM
Re: telnet and restricting root access
Hi
Are U able to login as normal user from the same machine? If yes, this can be because of /etc/securetty. Just move this file and see, whether U are able to login or not. If U are able to login as other users, but not root, then try trhis
Login as normal user, then
$su -
If U are not able to login at all from this machine, check for an entry in /var/adm/inetd.sec. Remove this and try
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:29 AM
тАО06-25-2002 09:29 AM
Re: telnet and restricting root access
At least now, I know what is going on.
Chelsea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2002 06:31 AM
тАО06-26-2002 06:31 AM