System Administration Guide: Advanced Administration

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.


    # EDITOR=vi; export EDITOR
    # crontab -e adm
    
  3. Edit the root crontab file and delete the entries for the dodisk program.


    # crontab -e
    
  4. Remove the startup script for Run Level 2.


    # unlink /etc/rc2.d/S22acct
    
  5. Remove the stop script for Run Level 0.


    # unlink /etc/rc0.d/K22acct
    
  6. Stop the accounting program.


    # /etc/init.d/acct stop