- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: users auditing- require tool or Script
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
05-11-2008 11:05 PM
05-11-2008 11:05 PM
users auditing- require tool or Script
We have small business requirement.Requirement is: we need to audit all the commands (user/root realted ) typed by the users(only 6 users) on all hp,linux and solaris servers.
If u have any script please share with me or you know any tool, send me the tool name..
Thanks in advance...
Regards,
Sri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 12:16 AM
05-12-2008 12:16 AM
Re: users auditing- require tool or Script
Unix has a built in auditing tool. Keyboard history. It does not include a time/date stamp.
In the user profile.
HISTSIZE=5000
HISTFILE=.sh_history
export HISTSIZE HISTFILE
The log will be kept. Don't put the .sh_history file on NFS for HP-UX.
Linux uses .bash_history
I have no idea about Solaris.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 01:43 AM
05-12-2008 01:43 AM
Re: users auditing- require tool or Script
You could also use typescript(1) to log all input and output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 07:36 PM
05-12-2008 07:36 PM
Re: users auditing- require tool or Script
I used typescript to monitor a vendor account to track what they did when they were on our systems.
on sun you would use
script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:29 AM
05-13-2008 03:29 AM
Re: users auditing- require tool or Script
In HP-UX also it is script command:
script srifile (create a file called srifile and save everything printed on the user's screen into it)
script -a srifile (will append on the file)
The other way as SEP said, rely on history file. There are other tools like powerbroker, etc. which can playback (pbreplay) the logged sessions but needs to pay for that.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2008 03:00 AM
05-14-2008 03:00 AM
Re: users auditing- require tool or Script
Oops, the default output file is typescript and the command is script(1):
http://docs.hp.com/en/B2355-60130/script.1.html