Explorar el Código

Don't allow use of the default debian user account

Bob Mottram hace 10 años
padre
commit
a8ec9c97ac
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone-config

+ 4
- 0
src/freedombone-config Ver fichero

@@ -244,6 +244,10 @@ function interactive_configuration {
244 244
       echo 'No user account was selected'
245 245
       exit 8347
246 246
   fi
247
+  if [[ $MY_USERNAME == 'debian' ]]; then
248
+      echo "Don't use the default debian user account"
249
+      exit 9341
250
+  fi
247 251
   if [ ! -d /home/$MY_USERNAME ]; then
248 252
       echo "The directory /home/$MY_USERNAME does not exist"
249 253
       exit 6437