This prepaid accounting system could be used to track login time spent on a set of legacy Microsoft Windows workstations.
It uses the Linux system accounting files (/var/wtmp) to generate usage transactions, stored in a plain text database. Based on PHP, the system also provides up to the minute account balances and accepts payments and charges.
Changes to the utility sac that summarises wtmp records were required to clip the data by host name, so that multiple SMB connections from the clients were merged into one accounting transaction.
- implemented on a Debian GNU/Linux 3.0 (woody) server running Apache, PHP, and Samba,
tightly integrated with the sac package,
- does not require a database package, uses PHP serialize() data storage only,
- no transaction erasure supported (reversing transactions must be added, in compliance with accounting principles)