- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Auditing and Monitor user activities
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-18-2010 09:07 PM
01-18-2010 09:07 PM
I want to monitor and record destructive commands (like rm,rmdir,mkdir,touch etc...)
run by users in HP Unix 11.31.
When the command is run, which user, in which directory etc...
There are any default utilities available for HP Unix or we have to use third party software for this?
Manoj K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 09:50 PM
01-18-2010 09:50 PM
Re: Auditing and Monitor user activities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2010 10:49 PM
01-18-2010 10:49 PM
Re: Auditing and Monitor user activities
Yes, You can
"Turn on Auditing" , you trap them
But you need turn-on many Audit Parameters while enabling "Auditing" this require enough space on the "vg00" to temporarily record them you can write script to move those "audit files" to /archive/auditlogs file system which you can create apart from "vg00"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 09:55 PM
01-19-2010 09:55 PM
Re: Auditing and Monitor user activities
Thanks for the information.
Let me explain the exact requirement.
In our environment there are so many developers for one application.
Application is using it's on user id.we have created separate user id for each developer.
We have given sudo permission for deveopment users to login as application user.
sudo su -
So multiple developers login to the application together for there own work and in sudo log we are having the tarck who is logined as the Application users.
After login to the application user, we wanted to get a track what commands each of the developer is running?
In audit log i am not able to track this.
Manoj K
I have enabled the auditing.
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2010 11:02 PM
01-19-2010 11:02 PM
Re: Auditing and Monitor user activities
Tech Mahindra
Data Canter Tubli Bahrain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 06:09 AM
01-20-2010 06:09 AM
Re: Auditing and Monitor user activities
So you are using sudo, it's great to hear.
You need to accomplish that the files of the appuser can only be deleted by the appuser himself. (write and execute permissions)
After that, grant acces with sudo only to 'rootsh -u appuser'. rootsh is a restricted shell (not only for granting root access) that's entire session gets logged into rootsh.log
# ll rootsh.log
-rw------- 1 root root 5020 Jan 20 15:05 rootsh.log
#
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2010 02:22 AM
01-24-2010 02:22 AM
Re: Auditing and Monitor user activities
From where i can get the roosh depot for HP Unix 11.31 Itanium verison.
ManojK
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2010 02:37 AM
01-25-2010 02:37 AM
Re: Auditing and Monitor user activities
http://sourceforge.net/projects/rootsh/files/rootsh/
roll down the 1.5.2 version, there is a pre-compiled HP-UX depot, try that. If it doesn't work then you must start from source an compile one for yourself.
Our was from depot installed:
# swlist -l file | grep -i rootsh
# ROOTSH 1.5.2-1 a logging shell wrapper for wannabe root users
# ROOTSH.rootsh 1.5.2-1 rootsh executables
ROOTSH.rootsh: /usr/bin/rootsh
ROOTSH.rootsh: /usr/man/man1/rootsh.1
Btw, we have 11.11 systems.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2010 02:54 AM
08-27-2010 02:54 AM
Re: Auditing and Monitor user activities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 05:05 AM
09-01-2010 05:05 AM
Re: Auditing and Monitor user activities
I think rootsh can't be bypassed, everything gets logged. Write a shell script which regularly trims/archives the logs.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2010 05:04 AM
09-21-2010 05:04 AM
Re: Auditing and Monitor user activities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2010 07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2010 11:39 PM
09-21-2010 11:39 PM
Re: Auditing and Monitor user activities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2010 11:52 PM
09-21-2010 11:52 PM
Re: Auditing and Monitor user activities
I am very much happy to see that somebody got benefit with this.
Thanks VIKCTOR for your great support.
Manoj k
Manoj K