- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring Execution of Commands at the prompt
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
01-29-2004 06:36 AM
01-29-2004 06:36 AM
Right now I am using the .sh_history file on my users' home directories to see what they execute. This file is good, but there are times when users delete or change rights to certain directories and I can not find anything in the .sh_history files. I would like to know if there is any other way to capture this type of information.
Thanks, Jose
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:39 AM
01-29-2004 06:39 AM
SolutionThis gives whatever is happening on user's screen. But bware the files gow very fast.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:51 AM
01-29-2004 06:51 AM
Re: Monitoring Execution of Commands at the prompt
# man acct
# man 1m acct
And also at docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 06:56 AM
01-29-2004 06:56 AM
Re: Monitoring Execution of Commands at the prompt
script is the command. But you cannot redirect the output file to a location to which root only has access for the ordinary user.
As long as I know you will need to have a software like CA eTrust which can control the access to the output file.
You can enable accounting. It can show all the base commands (for ex., if a user did a cd /somewhere, cd will be logged). You can get a report on all the commands etc., This is the simplest of all.
The otherway is to enable 'auditing' and audit only certain users. Look at man 5 audit and the relavent commands.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 07:14 AM
01-29-2004 07:14 AM
Re: Monitoring Execution of Commands at the prompt
Thanks, Jose