- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring users
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-26-2002 08:23 AM
06-26-2002 08:23 AM
I have a question:
How can I know the commands executed for the users in the system (HP-UX 11.0)?
For example, in the case of the miss of a file, how can I know, who was erase it, or change the permission of a file?
Exist an application or procedure for lookin for this activity in the system?
Thank's in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 08:31 AM
06-26-2002 08:31 AM
Re: Monitoring users
What about .history file?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 08:32 AM
06-26-2002 08:32 AM
Re: Monitoring users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 08:35 AM
06-26-2002 08:35 AM
Re: Monitoring users
You have the .sh_history file for each user in their home directories
There are 2 variables in /etc/profile which can control this file
HISTFILE : Contains the name of the history file
HISTSIZE : Shows how many commands are kept in the history file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 08:38 AM
06-26-2002 08:38 AM
Re: Monitoring users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 08:41 AM
06-26-2002 08:41 AM
Re: Monitoring users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 04:05 AM
06-27-2002 04:05 AM
Solutionanother suggestion:
Make the script command work for you! You can put it into the users profile, for example:
---snip---
script -a /var/adm/users/user1.log
---snip---
NOTE that only the script command is terminated when the user types exit. But you kann kill the PPID of his shell.
HTH
RGDS, Holger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 04:08 AM
06-27-2002 04:08 AM
Re: Monitoring users
put a line in cron such that it will start a script each time a user logs in.. the script file will have all the commands and their output logged in...
keep smiling
george
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 04:17 AM
06-27-2002 04:17 AM
Re: Monitoring users
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 04:31 AM
06-27-2002 04:31 AM
Re: Monitoring users
i should have known this ! OK, by default the user's .profile has permissions r--r--r--. The owner is the user himself. How about a chown root:sys to the .profile ? I would check that the script command does not run for root.
Just by the way ;-)
RGDS, Holger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 07:09 AM
06-27-2002 07:09 AM
Re: Monitoring users
HTH
Marty