From 21f03af0f7514dce7769da5c47327cb31fb22962 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Oct 2015 14:50:16 +0000 Subject: [PATCH] Mark a user account as being the adinistrator --- src/freedombone | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/freedombone b/src/freedombone index f2fe48d4..bad582be 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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