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'
|
echo $'No user account was selected'
|
||||||
exit 8347
|
exit 8347
|
||||||
fi
|
fi
|
||||||
if [[ $MY_USERNAME == 'debian' ]]; then
|
if [[ $MY_USERNAME == 'debian' || $MY_USERNAME == 'fbone' ]]; then
|
||||||
echo $"Don't use the default debian user account"
|
echo $"Don't use the default user account"
|
||||||
exit 9341
|
exit 9341
|
||||||
fi
|
fi
|
||||||
if [ ! -d /home/$MY_USERNAME ]; then
|
if [ ! -d /home/$MY_USERNAME ]; then
|
||||||
|
|
Loading…
Reference in New Issue