- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: process tracking and auditing
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-07-2006 06:11 AM
05-07-2006 06:11 AM
OS: rhel 4
how can initiallize the /var/log/wtmp ? that is i have check it via last command, and now I want that all old info will be de delete .. ?
how to enable auditing on a file/folder ? say I wana audit/track who has access the /secret directory
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2006 12:12 PM
05-07-2006 12:12 PM
Solutionlast -f /var/log/wtmp.1
In order to audit the access, the standard way in RHEL is by using the auditd daemon. You should start by installing the "audit" package (audit-1.0.12-1.EL4 is the most current version at the time) and reading the man pages of auditd. After that, adjust /etc/auditd.conf, /etc/audit.rules per your needs and use the various audit* utilities to monitor access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 03:22 AM
05-08-2006 03:22 AM
Re: process tracking and auditing
# mv /var/log/wtmp /var/log/wtmp.1
# touch /var/log/wtmp
# chmod 0664 /var/log/wtmp
# chown root:wtmp /var/log/wtmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 06:59 AM
05-12-2006 06:59 AM
Re: process tracking and auditing
#accton /var/account/pacct
then issued some command and check it via
#lastcomm --user maaz
OK
but after a very short time
#tail -f /var/log/messages
May 12 22:36:53 system1 kernel: Process accounting paused
#lastcomm --user maaz, only shoes old command, that is new command are not shown by lastcomm output
plz help
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 07:25 AM
05-26-2006 07:25 AM
Re: process tracking and auditing
I move /var to biger/larger partition.. and its DONE ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 09:15 AM
05-26-2006 09:15 AM
Re: process tracking and auditing
You should also setup size limits for all other logs. You should use /etc/logrotate.conf for that. Do not be shy but creative and add your own scripts to /etc/logrotate.d