System Administration Guide: Advanced Administration

ProcedureHow to Bill Users

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Charge a user for special services.

    # /usr/lib/acct/chargefee username amount

    Is the user account you want to bill.


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

Example 9–4 Billing Users

In the following example, the user print_customer is charged 10 units.

# /usr/lib/acct/chargefee print_customer 10