Wednesday, July 14, 2010

acct: Unix System Accounting Disabled

On various hardware platforms I have seen system accounting consume a large amount of system resources if considering to completely remove system accounting this is my preferred and easy method.








How to Permanently Disable System Accounting:
  1. Become superuser.
  2. Edit the adm crontab file and delete the entries for the ckpacct, runacct, and monacct programs.
  3. EDITOR=/usr/bin/vi; export EDITOR
  4. crontab -e adm
  5. Edit the root crontab file and delete the entries for the dodisk program.
  6. crontab -e
  7. Remove the startup script for Run Level 2.
  8. unlink /etc/rc2.d/S22acct
  9. Remove the stop script for Run Level 0.
  10. unlink /etc/rc0.d/K22acct
  11. Stop the accounting program.
  12. /etc/init.d/acct stop


No comments:

Post a Comment