- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Auditing Info/help
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
08-31-2007 03:09 AM
08-31-2007 03:09 AM
Auditing Info/help
HP-UX 11.23, rx4640's and rx2620's, VA7410.
Hi,
A couple of weeks ago, I made a big mistake. To satisfy our Security people, I turned on Auditing on all of our HP Backend Database servers. I used SAM to do this. I set up two audit files /root/.secure/audfile1 and audfile2. I set them to be 1 meg each just for openers. Then I forgot about it and went home. audfile1 filed and output started going to audfile2. Once audfile2 filled up, the audit system wanted to go back to audfile1 - or so I think. However, before the audit system would overwrite audfile1, it wanted the name of a backup file. Backup File?????. I saw no backup file mentioned in SAM. The system then began scrolling lines to the screen telling us that it wanted the name of a backup. It also locked all accounts so noone could log in.
Can anyone tell me about this backup that the system was trying to tell me about? Also, can someone point me toward a document that I could use to configure the auditing system on 11.23.
Thanks,
Darrell Tschakert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2007 03:20 AM
08-31-2007 03:20 AM
Re: Auditing Info/help
If your system is still locked, you could try using audsys to halt the auditing system.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2007 03:26 AM
08-31-2007 03:26 AM
Re: Auditing Info/help
http://www.nortel.com/solutions/securenet/collateral/hp-ux_hardening_guide_v1.pdf
The link above shows a general approach.
Basically you need a cron script to rotate these guys once a day so they don't hang up like they did on you.
Also, I relocate them to the /var filesystem so if they get too big they don't stop the system cold.
http://docs.hp.com/en/5990-6737/ch07s05.html
HP general doc that I believe discusses a good log rotation scheme.
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
08-31-2007 03:34 AM
08-31-2007 03:34 AM
Re: Auditing Info/help
1. Start by reading audit(5) :
man 5 audit
2. Yes the first file you specify is the audit file used, the second is a backup - when the first fills it starts using the backup. It doesn't necessarily go back to the first file unless you tell it to - better to go to an entirely new file. What we did at some of my old sites was to have a monitor script that kicked in once an hour and assigned a nwe backup file if required. You can do all this from the command line using the audsys command. So in your case to move on to another file you might have entered:
audsys -x /.secure/etc/audfile3 -z 1000
3. By default audit logs are written into the root filesystem !DANGER DANGER! This can easily fill up your root filesystem and you don't want to go there. Either create a seperate filesystem called /.secure or redirect the files to another location.
4. Now what events and users do you want to monitor - if you want to monitor all events and all users that can create a *lot* of data. When I asked my security team what they wanted they said everything and kept for 3 years! A quick calculation of data generated told me that for all our HP-UX systems that would create upwards of a TB of data every year that needed to be kept. When I submitted the costs to the security team for them to pay for this storage they decided they didn't need to see everything! Here use the audevent and audusr commands to control what you do and don't audit.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2007 03:50 AM
08-31-2007 03:50 AM
Re: Auditing Info/help
we use aduiting on all out systems. Check out this attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2007 03:50 AM
08-31-2007 03:50 AM
Re: Auditing Info/help
we use aduiting on all out systems. Check out this attachment.
Hope this helps!
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2007 04:02 AM
08-31-2007 04:02 AM
Re: Auditing Info/help
thanks all
Darrell T.