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.
How to Bill Users
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 .
Charge a user for special services.
#/usr/lib/acct/chargefee
username
amount
username
Is the user account you want to bill.
amount
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.