HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: converting system in to trusted one
Operating System - HP-UX
1836874
Members
2278
Online
110110
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
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
11-24-2009 08:56 PM
11-24-2009 08:56 PM
converting system in to trusted one
how to convert the system in to trusted , what r the prcedure
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2009 09:20 PM
11-24-2009 09:20 PM
Re: converting system in to trusted one
Hi,
The recommended way is to use SAM/SMH to convert system in to trusted mode
This is my script which I prepared for one of my client to do the same task.
# Trusted Mode
echo
echo "Converting the system in to trusted mode ..."
/usr/sbin/lvcreate -L 5000M -n secure /dev/vg00
wait
/usr/sbin/newfs -F vxfs /dev/vg00/rsecure
wait
mkdir /.secure
wait
cp /etc/fstab /etc/fstab_`date +%Y%m%d%H%M%S`
echo "/dev/vg00/secure /.secure vxfs delaylog,largefiles 0 2" >> /etc/fstab
/usr/sbin/mountall
mkdir /.secure/etc
chmod -R 600 /.secure
cp /etc/passwd /etc/passwd_`date +%Y%m%d%H%M%S`
/etc/tsconvert -c
wait
/usr/lbin/modprpw -V
wait
/etc/tsconvert -p
wait
cd /.secure/etc
/usr/sbin/audsys -n -c audfile1 -s 1048576 -x audfile2 -z 1048576
wait
/usr/sbin/audsys -n
wait
/usr/sbin/audusr -A
wait
cp /etc/rc.config.d/auditing /etc/rc.config.d/auditing_`date +%Y%m%d%H%M%S`
sed 's/AUDITING=0/AUDITING=1/g' < /etc/rc.config.d/auditing > /tmp/auditing
mv /tmp/auditing /etc/rc.config.d/auditing
/usr/sbin/audsys
echo "Verify that no UID 0 Account exists Other than root"
awk -F: '($3 == 0) { print "UID 0 Accounts are Below. Please do block if its not necessary\n" $1 }' /etc/passwd
echo "Setting Password expiry (must expire after 42 days and warn 7 days) for root account"
passwd -x 42 -w 7 root
echo "===================================================================="
echo " The sytem has been converted to Trusted Mode "
echo "===================================================================="
Aneesh
The recommended way is to use SAM/SMH to convert system in to trusted mode
This is my script which I prepared for one of my client to do the same task.
# Trusted Mode
echo
echo "Converting the system in to trusted mode ..."
/usr/sbin/lvcreate -L 5000M -n secure /dev/vg00
wait
/usr/sbin/newfs -F vxfs /dev/vg00/rsecure
wait
mkdir /.secure
wait
cp /etc/fstab /etc/fstab_`date +%Y%m%d%H%M%S`
echo "/dev/vg00/secure /.secure vxfs delaylog,largefiles 0 2" >> /etc/fstab
/usr/sbin/mountall
mkdir /.secure/etc
chmod -R 600 /.secure
cp /etc/passwd /etc/passwd_`date +%Y%m%d%H%M%S`
/etc/tsconvert -c
wait
/usr/lbin/modprpw -V
wait
/etc/tsconvert -p
wait
cd /.secure/etc
/usr/sbin/audsys -n -c audfile1 -s 1048576 -x audfile2 -z 1048576
wait
/usr/sbin/audsys -n
wait
/usr/sbin/audusr -A
wait
cp /etc/rc.config.d/auditing /etc/rc.config.d/auditing_`date +%Y%m%d%H%M%S`
sed 's/AUDITING=0/AUDITING=1/g' < /etc/rc.config.d/auditing > /tmp/auditing
mv /tmp/auditing /etc/rc.config.d/auditing
/usr/sbin/audsys
echo "Verify that no UID 0 Account exists Other than root"
awk -F: '($3 == 0) { print "UID 0 Accounts are Below. Please do block if its not necessary\n" $1 }' /etc/passwd
echo "Setting Password expiry (must expire after 42 days and warn 7 days) for root account"
passwd -x 42 -w 7 root
echo "===================================================================="
echo " The sytem has been converted to Trusted Mode "
echo "===================================================================="
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2009 09:24 PM
11-24-2009 09:24 PM
Re: converting system in to trusted one
Hi,
This link may helpfull to you ..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1259126443596+28353475&threadId=1278210
Aneesh
This link may helpfull to you ..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1259126443596+28353475&threadId=1278210
Aneesh
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