Check for default usernames

This commit is contained in:
Bob Mottram 2015-11-30 15:57:36 +00:00
parent 48d3d3f2f2
commit f46e2358d7
1 changed files with 2 additions and 2 deletions

View File

@ -734,8 +734,8 @@ function interactive_configuration {
echo $'No user account was selected'
exit 8347
fi
if [[ $MY_USERNAME == 'debian' ]]; then
echo $"Don't use the default debian user account"
if [[ $MY_USERNAME == 'debian' || $MY_USERNAME == 'fbone' ]]; then
echo $"Don't use the default user account"
exit 9341
fi
if [ ! -d /home/$MY_USERNAME ]; then