HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restrict root from Doing telnet .
Operating System - HP-UX
1834136
Members
2220
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-22-2008 12:50 PM
05-22-2008 12:50 PM
I am new to HP-UX Admin , and need help form all HP-UX Gurus out there.
1. I want to restrict root form doing telnet to my HP-UX Servers.?
Please help me it's urgent.
1. I want to restrict root form doing telnet to my HP-UX Servers.?
Please help me it's urgent.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 01:05 PM
05-22-2008 01:05 PM
Solution
create /etc/securetty with the text of "console" ( no " required )
This will restrict telnet for root to the console.
If ssh is used then this will have no effect.
If exec is used this will have no effect
If remsh is used then this will have no effect
If SMH is used then this will have no effect.
Lots more security issues to cover.
Your only other option is to write something into /etc/profile or /.profile to check the tty and exit if not /dev/console. But.. if you allow ftp for root someone can just replace that file with something else. So you should also lock out root ftp, and sftp, and rcp ... and so on.
Beware you may just lock yourself out if you get things too tight.
This will restrict telnet for root to the console.
If ssh is used then this will have no effect.
If exec is used this will have no effect
If remsh is used then this will have no effect
If SMH is used then this will have no effect.
Lots more security issues to cover.
Your only other option is to write something into /etc/profile or /.profile to check the tty and exit if not /dev/console. But.. if you allow ftp for root someone can just replace that file with something else. So you should also lock out root ftp, and sftp, and rcp ... and so on.
Beware you may just lock yourself out if you get things too tight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 01:06 PM
05-22-2008 01:06 PM
Re: Restrict root from Doing telnet .
BTW,
Is your first name Always ?
lol
Is your first name Always ?
lol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 05:31 PM
05-22-2008 05:31 PM
Re: Restrict root from Doing telnet .
The simplest method is to change root's password on each system. WShat problem are you trying to solve? Are these systems using a centralized password server such as NIS? As mentioned, there are many ways to login to a system so more details are needed.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP