- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to tell if a system is 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
06-19-2003 02:23 PM
06-19-2003 02:23 PM
Can anyone tell me a reliable way to tell if a system is a trusted system or not in a shell script?
Thanks,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:26 PM
06-19-2003 02:26 PM
Solutionif [[ -f /tcb/files/auth/system/default ]]
then
echo "I is trusted"
else
echo "I a\'int"
fi
Man 2 iscomsec for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:26 PM
06-19-2003 02:26 PM
Re: How to tell if a system is trusted?
if [[ -f /tcb/files/auth/system/default ]]
then
echo "I is trusted"
else
echo "I a\'int"
fi
Man 2 iscomsec for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:30 PM
06-19-2003 02:30 PM
Re: How to tell if a system is trusted?
Check if you have the /tcb directory
with more directorys and files.
In your /etc/passwd on the password field you will see * and not encripted string -
that's mean that you in trusted mode.
Also you can run SAM and there you have trusted mode so you will see if you can activate or disable
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 07:14 PM
06-19-2003 07:14 PM
Re: How to tell if a system is trusted?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8a8f44f56197d711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 07:22 PM
06-19-2003 07:22 PM
Re: How to tell if a system is trusted?
Another way -
/usr/lbin/getprpw $LOGNAME > /dev/null 2>&1
if [ $? != 0 ]
then
echo "System is not trusted"
else
echo "System is trusted"
fi
-Sri