If you provide special user services by request. Special services include restoring files or remote printing. You might want to bill users by running the chargefee utility. The chargefee utility records charges in the /var/adm/fee file. Each time the runacct utility is executed, new entries are merged into the total accounting records.
See the acctsh(1M) man page for more information.
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.
# /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.
In the following example, the user print_customer is charged 10 units.
# /usr/lib/acct/chargefee print_customer 10