GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enable accounting
Operating System - HP-UX
1848029
Members
2723
Online
104022
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
Forums
Discussions
back
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
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
11-29-2004 09:22 AM
11-29-2004 09:22 AM
Enable accounting
There are some REDS being generated by security s/w for not enabling accounting. we want to enable it but at the same time do not want the logs to grow..in short we are just intrested in getting these RED flags off.How do i start accounting by command line? And also i need the log files to be always 0. I have edited the rc.config.d/acct file to set it to 1. Pl advise.
Thanks
Joe.
Thanks
Joe.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 09:37 AM
11-29-2004 09:37 AM
Re: Enable accounting
If I understand your question, you want accounting to APPEAR to be running when it is not. Be glad, I'm not auditing your site.
After you have set the /etc/rc.config.d/acct entry START_ACCT=0
you then can manually execute
/sbin/init.d/acct start to start accounting
and
/sbin/init.d/acct stop to shutdown accounting.
After you have set the /etc/rc.config.d/acct entry START_ACCT=0
you then can manually execute
/sbin/init.d/acct start to start accounting
and
/sbin/init.d/acct stop to shutdown accounting.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 09:58 AM
11-29-2004 09:58 AM
Re: Enable accounting
Clay:
I am going to have 1 in /etc/rc.config.d/acct 'coz i want it to run on reboot. I wanted to know how i would disable the log files or Rather have the log files as 0 so that it would not grow.
Thanks
Joe
I am going to have 1 in /etc/rc.config.d/acct 'coz i want it to run on reboot. I wanted to know how i would disable the log files or Rather have the log files as 0 so that it would not grow.
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 10:18 AM
11-29-2004 10:18 AM
Re: Enable accounting
In that case, I'll give you some hints. Man acctsh and pay attention to the turnacct and ckpacct sections. You should be able to cron a daemon to remove /var/adm/pacctNNN files while leaving the current file /var/adm/pacct (no suffix) in place and ckpacct will keep it at a reasonably small size but you will still be able to generate some data for your auditors.
If it ain't broke, I can fix that.
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 2026 Hewlett Packard Enterprise Development LP