here is what I got working so far:
- Check requirements and file permissions to create conf/jarifa.conf
- Check the DB connection and create the tables
- Enter the root user with a random password (8 chars)
- Store the configuration into conf/jarifa.conf
- fail gracefully and inform the user about the mistake in all cases
The last thing is the account manager information in jarif.conf
<account_manager>
<name>Jarifa Server</name>
<logo>img/logo.png</logo>
<master_url>
http://localhost/jarifa</master_url>
<min_passwd_length>1</min_passwd_length>
<usernames>1</usernames>
<repeat_sec>280</repeat_sec>
<public_signature>PUT SIGNATURE HERE</public_signature>
<boinc_user_email>
em...@yourdomain.com</boinc_user_email>
<boinc_user_name>boinc_user</boinc_user_name>
<boinc_passwd>boinc_pass</boinc_passwd>
</account_manager>
Providing a form is easy but what criteria should I implement to check
the values? And how is the public_signature generated (this should
also be documented)? What is boinc_user_email and boinc_user_name used
for?
Regards
Christian