- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is my system trusted
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
09-13-2011 07:02 AM
09-13-2011 07:02 AM
Hi everyone,
I am running HP-UX 11i v1 and I thought my systems were 'trusted' but I am not able to find under /etc/ ;however I do have a /tcb/files/authr directory and I use trusted like commands to unlock accounts etc.. modprpw -k xxx te only. ...I remember there was a command to confirm if my system is trusted or not, can someone help me please.
thanks!
MRH
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 07:38 AM
09-13-2011 07:38 AM
Re: Is my system trusted
If the file /tcb/files/auth/system/default exists, then your system is in trusted mode; if it does not exist, then it is not in trusted mode. (This is the mechanism used by the system call iscomsec(): see "man 2 iscomsec")
Any modprpw command should return with an error code 2 if the system is not trusted.
This would be one way to test if the system is in trusted mode or not (with thanks to Bill Hassell):
if [ -x /usr/lbin/modprpw ] then /usr/lbin/modprpw >/dev/null 2>&1 if [ $? -eq 2 ] then echo "This system is NOT in trusted mode." else echo "This system IS in trusted mode." fi else echo "No modprpw command available - is this HP-UX at all?" fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 07:44 AM
09-13-2011 07:44 AM
SolutionWell, if you're using the trusted mode commands and /tcb exists, you're definitely in trusted mode. As an added assurance, you can run /usr/lbin/getprdef -r. If you are not in trusted mode, you will get "System is not trusted." Presumably, any of the other trusted mode commands you normally run would do the same thing.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2011 06:14 AM
09-14-2011 06:14 AM