HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trusted mode - get started
Operating System - HP-UX
1833589
Members
3836
Online
110061
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
09-25-2006 08:34 AM
09-25-2006 08:34 AM
Trusted mode - get started
After suggestion by you guys we've decided to convert our HP to trusted mode. We want to be able to log user activities like commands, comannds executed after su to other user etc. ran by users. After reading about audevent I know that I need to configure events to get log of user activity. What I don't know is:
1. What type of events will help us get commands, other activities etc. per user?
2. How to configure them ?
3. Where would I be able to look at the log file?
4. How to calculate Performance overhead on the system?
1. What type of events will help us get commands, other activities etc. per user?
2. How to configure them ?
3. Where would I be able to look at the log file?
4. How to calculate Performance overhead on the system?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 08:38 AM
09-25-2006 08:38 AM
Re: Trusted mode - get started
It really depends on the configuration. You can turn on system auditing using sam so that you will get all the information logged into a file.
As for as Performance, you have to be careful, if you turn on full level, performance may be poor.
As for as Performance, you have to be careful, if you turn on full level, performance may be poor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 10:31 AM
09-25-2006 10:31 AM
Re: Trusted mode - get started
And most important, before you start logging, change the location of the audfiles. By default they are in /, the worst possible location. Specify the location in /var/adm where almost all logfiles are located.
Look at the man pages for:
audit
audevent
audctl
audisp
and also: man 5 audit
SAM will also allow you to configure auditing options. Note that it is very easy to configure a lot of options and the logfiles will be extremely large.
Now based on what you want to see, the audit system will not give you all the items on your list:
> log user activities like commands
That is always recorded in $HOME/.sh_history for each user -- assuming a normal login and normal shell.
> comannds executed after su to other user
Same as above as long as su is *always* su - user (the - is imperative for all su commands)
> calculate Performance overhead
Completely different task -- auditing does not monitor performance because it is impossible to characterize. For performance, you use tools like top, vmstat and sar but these are difficult to use. For meaningful performance details, you need the HP product Glance/plus.
Bill Hassell, sysadmin
Look at the man pages for:
audit
audevent
audctl
audisp
and also: man 5 audit
SAM will also allow you to configure auditing options. Note that it is very easy to configure a lot of options and the logfiles will be extremely large.
Now based on what you want to see, the audit system will not give you all the items on your list:
> log user activities like commands
That is always recorded in $HOME/.sh_history for each user -- assuming a normal login and normal shell.
> comannds executed after su to other user
Same as above as long as su is *always* su - user (the - is imperative for all su commands)
> calculate Performance overhead
Completely different task -- auditing does not monitor performance because it is impossible to characterize. For performance, you use tools like top, vmstat and sar but these are difficult to use. For meaningful performance details, you need the HP product Glance/plus.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 04:34 AM
09-26-2006 04:34 AM
Re: Trusted mode - get started
Just to add one more thought... you may also consider, as an alternative to Trusted Mode, using the Standard-Mode Security Extensions package available on 11.23. That allows you to keep using the passwd/shadow structure, but still gives you just about all the features available in Trusted Mode (with better compatibility).
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin
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