HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- proper way to archive audit logs
Operating System - HP-UX
1831891
Members
3165
Online
110031
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-10-2000 02:55 AM
04-10-2000 02:55 AM
proper way to archive audit logs
I just converted a HPUX 11.0 system into a trusted system and I am not sure of
the proper way to archive or clear out the /.secure/etc/audfile1 and or
audfile2 log files.
Any suggestions?
the proper way to archive or clear out the /.secure/etc/audfile1 and or
audfile2 log files.
Any suggestions?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2000 09:58 PM
04-10-2000 09:58 PM
Re: proper way to archive audit logs
Hi Erik,
This may help you. This details how to switch the logs. Once switched, you can
view, archive, delete, etc..
# audsys (See manpage for more details)
The auditing system is currently on.
Current file: /secure/etc/audfile1.
Next file: /secure/etc/audfile2.
Statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file 1039 0 0 83733 16501 0
next file 1039 0 0 83733 16501 0
# cd /secure/etc
# touch audfile3
# touch audfile4
# audsys -c audfile3 -s 1039 -x audfile4 -z 1039
# audsys
Current file: /secure/etc/audfile3.
Next file: /secure/etc/audfile4.
Statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file 1039 0 100 83733 16501 80
next file 1039 0 100 83733 16501 80
After reviewing the contents, or archiving, you can
issue the following commands to switch back :
# cat /dev/null > audfile1
# cat /dev/null > audfile2
Use the following command to set it back to the original files:
# audsys -c audfile1 -s 1039 -x audfile2 -z 1039
Regards,
Roger.
This may help you. This details how to switch the logs. Once switched, you can
view, archive, delete, etc..
# audsys (See manpage for more details)
The auditing system is currently on.
Current file: /secure/etc/audfile1.
Next file: /secure/etc/audfile2.
Statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file 1039 0 0 83733 16501 0
next file 1039 0 0 83733 16501 0
# cd /secure/etc
# touch audfile3
# touch audfile4
# audsys -c audfile3 -s 1039 -x audfile4 -z 1039
# audsys
Current file: /secure/etc/audfile3.
Next file: /secure/etc/audfile4.
Statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file 1039 0 100 83733 16501 80
next file 1039 0 100 83733 16501 80
After reviewing the contents, or archiving, you can
issue the following commands to switch back :
# cat /dev/null > audfile1
# cat /dev/null > audfile2
Use the following command to set it back to the original files:
# audsys -c audfile1 -s 1039 -x audfile2 -z 1039
Regards,
Roger.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP