First Time Setup

When finished with the Debian packaging scripts, modify twpol.txt & twcfg.txt to your liking. Make sure that paths to the database in each file are the same. Then run the following commands to re-compile them:

twadmin -m P -S site.key twpol.txt
twadmin -m F -S site.key twcfg.txt

Both configuration files are converted into a binary format, then signed with the site key. The plain text configurations can now be removed to prevent humans from reading them. However these files are not encrypted, so anyone with the twadmin binary will be able to decode them.