System Administration Guide: Advanced Administration

How to Bill Users

  1. Become superuser.

  2. Charge a user for special services.


    # /usr/lib/acct/chargefee username amount
    

    username

    User account you want to bill. 

    amount

    Number of units to bill the user. This is an arbitrary unit that you set to charge users based on some task like printing or restoring a file. You would have to write a script that invokes chargefee and charges a user for a specific task.

Example—Billing Users

The following example charges the user print_customer 10 units.


# /usr/lib/acct/chargefee print_customer 10