- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: command log accesibility
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
03-24-2010 09:27 PM
03-24-2010 09:27 PM
command log accesibility
i am using hp-ux 11iv2
i need to have log of all the commands executed on the system for last 48 hrs. along with the userid & time stamp on regular basis. please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 09:49 PM
03-24-2010 09:49 PM
Re: command log accesibility
# /usr/bin/audisp /your_audit_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 10:32 PM
03-24-2010 10:32 PM
Re: command log accesibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 10:39 PM
03-24-2010 10:39 PM
Re: command log accesibility
Type :
# audsys
You should see "auditing system is currently on"...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 10:41 PM
03-24-2010 10:41 PM
Re: command log accesibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 10:47 PM
03-24-2010 10:47 PM
Re: command log accesibility
# audsys
warning: /.secure/etc/audnames does not exist
auditing system is currently off
current file: ** unknown **
next file: ** unknown **
statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file: ** no data available **
next file: ** no data available **
# ls -l /usr/sbin/*aud*
-r-xr-xr-x 1 bin bin 45056 Aug 26 2004 /usr/sbin/audevent
-r-xr-xr-x 1 bin bin 86016 Jan 30 2006 /usr/sbin/audisp
-r-xr-xr-x 1 bin bin 40960 Sep 3 2003 /usr/sbin/audomon
-r-xr-xr-x 1 bin bin 53248 Aug 26 2004 /usr/sbin/audsys
-r-xr-xr-x 1 bin bin 32768 Aug 26 2004 /usr/sbin/audusr
# uname -a
HP-UX B.11.23 U 9000/800 100901507 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 11:03 PM
03-24-2010 11:03 PM
Re: command log accesibility
o/p of root@cmd1#ll /usr/sbin/*aud* is
-r-xr-xr-x 1 bin bin 55524 Aug 27 2004 /usr/sbin/audevent
-r-xr-xr-x 1 bin bin 149076 Jan 31 2006 /usr/sbin/audisp
-r-xr-xr-x 1 bin bin 39492 Sep 3 2003 /usr/sbin/audomon
-r-xr-xr-x 1 bin bin 67932 Aug 27 2004 /usr/sbin/audsys
-r-xr-xr-x 1 bin bin 36892 Aug 27 2004 /usr/sbin/audusr
is there any method by which log of all command executed on system with userid & time for past 48 hour will automatically save in a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 11:35 PM
03-24-2010 11:35 PM
Re: command log accesibility
Other than auditing, there may be commercial products that do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 11:38 PM
03-24-2010 11:38 PM
Re: command log accesibility
can you please provide me detail of any such product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010 11:48 PM
03-24-2010 11:48 PM
Re: command log accesibility
If you do a forum search you can find:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=947033
powerbroker
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1386067
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=957845
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1064511
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1338794
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=813835
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1342438
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1321202
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=964003
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1409609
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1401143
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1058502
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1004243
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=774672
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=217043