Check for default usernames
This commit is contained in:
parent
48d3d3f2f2
commit
f46e2358d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue