Mark a user account as being the adinistrator

This commit is contained in:
Bob Mottram 2015-10-26 14:50:16 +00:00
parent d869c76e7e
commit 21f03af0f7
1 changed files with 7 additions and 0 deletions

View File

@ -1230,6 +1230,12 @@ function install_not_on_BBB {
echo 'install_not_on_BBB' >> $COMPLETION_FILE
}
function mark_admin_user_account {
if [ ! -f /home/$MY_USERNAME/.freedombone_administrator ]; then
touch /home/$MY_USERNAME/.freedombone_administrator
fi
}
function randomize_cron {
# The predictable default timing of Debian cron jobs might
# be exploitable knowledge. Avoid too much predictability
@ -10834,6 +10840,7 @@ install_dynamicdns
randomize_cron
create_freedns_updater
initial_setup
mark_admin_user_account
enforce_good_passwords
install_editor
change_login_message