- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitoring/auditing atime
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-15-2007 05:38 AM
03-15-2007 05:38 AM
monitoring/auditing atime
By some reason I've been asked to find a way to record who and when the atime of some directories/files gets modified.
It should be a complete listing so that they could say something like this user/process @ this date and time read/executed a file.
I was wondering if there was a way to do this utilizing any of the auditing tools provided in HP-UX.
Thanks and regards,
Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:51 AM
03-15-2007 05:51 AM
Re: monitoring/auditing atime
find ./ -atime -1
There are some other options.
I believe HPIDS can be configured with a watch list of files. Even better, the product is free ( www.software.hp.com ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 06:12 AM
03-15-2007 06:12 AM
Re: monitoring/auditing atime
Thanks anyway but that simple find command is not what I am looking for. I'd like to maintain and update a record of what process and when does the atime on some dirs/files gets updated.
Maybe auditing on some of the syscalls (read(2), open(2), access(2), etc...) But this sounds too overkill and may not be appropriate.
By the way I was unable to find HPIDS on software.hp.com. Maybe I am doing something wrong...
Thanks and regards,
Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 06:14 AM
03-15-2007 06:14 AM
Re: monitoring/auditing atime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 07:13 AM
03-15-2007 07:13 AM
Re: monitoring/auditing atime
If you truly mean 'atime' then you mean the last access timestamp. For directories, that's virtually useless. The act of a process reading a directory (as with 'ls' or 'find') changes the directory's 'atime'. This occurs whether or not the process has permission to read/write/execute the directory's subordinate entries.
Proper directory permissions limit who can assess (or write and delete) directory contents.
Databases that catalog checksums and/or modification ('mtime') can alert you to *changes* in files.
If you have a few "critical" pieces of software that you would like to monitor, consider writting a wrapper that logs "who" and "when" whenever the code is executed.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:13 AM
03-15-2007 08:13 AM
Re: monitoring/auditing atime
You're completely correct reading my posting again I now realized I mentioned also directories and of course this is not useful at all.
I assume the easiest way is via a shell wrapper. But how about common ascii files, when somebody cat(1)/more(1) a file, or even opens an editor without modifying the file.
I don't know if something in the line of tripwire could be the answer. But I was hoping HP's auditing tools could be setup to gather this information.
I am looking for something like a log where you could keep a record of the following for the inode's atime update for example:
FILE UID ARGV[0] TIMESTAMP
.profile 0 cat 15 Mar 2007 14:45
...
Thanks,
Manuel