- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enable Trusted Mode - HP-UX
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
04-30-2004 01:10 AM
04-30-2004 01:10 AM
I need help in setting up one of the hp-ux box as trusted system. This is really very urgent and not in a position to do a RTFM :-(.
I want to,
1. Enable file level auditing (need step by step details)
2. Should be able to monitor usage of root previleged commands
3. Needs to understand if enabling trusted mode affects the existing configuration. What are all the things that needs to be taken in to consideration before enabling trusted mode.
4. Will the exisiting users be affected by this operation?
Any help will be greately appriciated.
Thanks in advance,
Karthik S S
Solved! Go to Solution.
- Tags:
- trusted mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:19 AM
04-30-2004 01:19 AM
Solutionaudisp -e "eventname" -u "user_name"
For file related things you can monitor delete, modaccess events.
2. Monitoring usage of root previled commands. Do you plan to use sudo and give root access for few thinhgs to user? Then sudo will log everything in syslog.log.
Other than this .sh_history file of root.
3. No effects. Should affect only those applications which do not understand C2 level. IF thay want to access it, they should make appropriate sys calls to get password details.
4. All accounts will be expired when you convert to trusted mode. Aviod that.
/usr/lbin/modprpw -V
Hope this helps.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:21 AM
04-30-2004 01:21 AM
Re: Enable Trusted Mode - HP-UX
Phew - that's a fair bit of information that you need!
Before you trust the system you must check whether all your 3rd party software supports trusted system. There was a query here a day or so back where someone had an application that stopped working when the system was trusted. They were lucky, in that the software supplier already had a patch for their application, but there are a number of software applications that just won't work in a trusted environment.
The supported method to trust a system is via SAM. You can also configure auditing through SAM. You will need to consider how large to make the audit files, how you will archive them and exactly what you hope to achieve from auditing.
Depending on your OS, password ageing and length some users may have problems after you've trusted the system. Even though you say this is urgent, I'd urge you to read the notes on trusting your system and the auditing man pages.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:22 AM
04-30-2004 01:22 AM
Re: Enable Trusted Mode - HP-UX
But how do I enable Trusted mode? Just by running tsconvert? Or are there any steps involved with that??
Will all the existing users be prompted to change their password?
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:25 AM
04-30-2004 01:25 AM
Re: Enable Trusted Mode - HP-UX
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:29 AM
04-30-2004 01:29 AM
Re: Enable Trusted Mode - HP-UX
command line- /etc/tsconvert -c
Yes all accounts will expire and will be prompted for new password. So immediatley after you do /etc/tsconvert -c, do
/usr/lbin/modprpw -V
Rather do
/etc/tsconver -c;/usr/lbin/modprpw -V
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:35 AM
04-30-2004 01:35 AM
Re: Enable Trusted Mode - HP-UX
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:36 AM
04-30-2004 01:36 AM
Re: Enable Trusted Mode - HP-UX
3. /etc/tsconvert, and make sure to reset the root password before you leave that prompt.
4. The existing users were not affected on my system when I ran tsconvert. But it is possible they would get affected, as well as root. All you would care about is the root account, so just make sure you reset that password to whatever it was.
HTH
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:36 AM
04-30-2004 01:36 AM
Re: Enable Trusted Mode - HP-UX
Yes, you can revert back to untrusted mode.
Before going to trsuted mode please check the minimum patches needed. In anyway, i hope you know how to convert back .
This is the one: /usr/lbin/tsconvert -r
To Verify ehethere system is in normal mode or not check that the /etc/passwd file is returned to normal ( without '*' in 2nd column)
Check that the /tcb directory does not exist.
Rgds
Tapas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:37 AM
04-30-2004 01:37 AM
Re: Enable Trusted Mode - HP-UX
"validate/refresh" all user's passwords. It goes through the
protected password database and sets the successful change time
to the current time for all users. The result is that all user's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:38 AM
04-30-2004 01:38 AM
Re: Enable Trusted Mode - HP-UX
password aging restarts at the current time.
May be combined with one of -l or -n options.
No points please!
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:44 AM
04-30-2004 01:44 AM
Re: Enable Trusted Mode - HP-UX
man modprdef
man getprpw
man getprdef
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:47 AM
04-30-2004 01:47 AM
Re: Enable Trusted Mode - HP-UX
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:51 AM
04-30-2004 01:51 AM
Re: Enable Trusted Mode - HP-UX
Thanks again
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 06:10 AM
04-30-2004 06:10 AM
Re: Enable Trusted Mode - HP-UX
Refer to this doc for more information.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90121/B2355-90121_top.html&con=/hpux/onlinedocs/B2355-90121/00/00/8-con.html&toc=/hpux/onlinedocs/B2355-90121/00/00/8-toc.html&searchterms=trusted%7cmode%7cenable&queryid=20040430-120719
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 06:34 AM
04-30-2004 06:34 AM
Re: Enable Trusted Mode - HP-UX
You got answers for all of your questions above. /etc/tsconvert can be used to convert/uncovet the system. But as mentioned SAM is the supported way of doing it.
Trusted mode commands (getpr*, modpr*) are not documented in 11.0
If you have 11i then you can do a man on modprpw, getprpw and other modpr*, getpr* commands to better understand
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2004 09:06 PM
05-02-2004 09:06 PM
Re: Enable Trusted Mode - HP-UX
Pl. help
These are the list of audited events I enabled from SAM. DO I need to enable any other event in order to track the changes made to a file??
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
admin Yes Yes acct, adjtime, audctl, audswitch, clock_
close No No close, ksem_close, mq_close, munmap
create Yes Yes creat, mkdir, mknod, msgget, pipe, pset_
delete Yes Yes ksem_unlink, mq_unlink, msgctl, pset_des
ipcclose No No fdetach, shutdown
ipccreat No No bind, socket, socket2, socketpair, socke
ipcdgram No No
ipcopen No No accept, connect, fattach
login Yes Yes
modaccess Yes Yes chdir, chroot, fchdir, link, lockf, lock
moddac Yes Yes acl, chmod, chown, fchmod, fchown, fseta â
open No No execv, execve, ftruncate, ftruncate64, k â
process No No exit, fork, kill, mlock, mlockall, munlo â
readdac No No access, fstat, fstat64, getaccess, lstat â
removable No No exportfs, mount, umount, vfsmount â
uevent1 No No
uevent2 No No
uevent3 No No
--------------------------------
Also audisp doesn't display the full path of the file that is touched by the user. For instance if the user "sysadm" create a file by name testfile under "/home/sysadm", audisp displays only "testfile" but not the full path ..
audisp -u sysadm /.secure/etc/audfile1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
040503 04:47:59 3982 S 8 3741 11 9000 20 9000
20 pts/td
[ Event=creat; User=sysadm; Real Grp=users; Eff.Grp=users; ]
RETURN_VALUE 1 = 5;
PARAM #1 (file path) = 0 (cnode);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 12:17 AM
05-03-2004 12:17 AM
Re: Enable Trusted Mode - HP-UX
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 06:45 AM
05-03-2004 06:45 AM
Re: Enable Trusted Mode - HP-UX
I dont beleive auditing will help you to keep track of changes made to the file by a particular user.
You can use version control softwares like RCS or SCCS. Look at man page of ci and co.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 06:49 AM
05-03-2004 06:49 AM
Re: Enable Trusted Mode - HP-UX
The following command will show you modification time, access time and change time. Hope this helps.
ls -t --> modification time
ls -u --> access time
ls -c --> change time
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 07:20 AM
05-03-2004 07:20 AM
Re: Enable Trusted Mode - HP-UX
Bill Hassell, sysadmin