##// END OF EJS Templates
Fix escaping of adduser
Filip Pytloun -
r48:c8a035bfc03f
parent child
Show More
@@ -391,7 +391,7 ENCRYPTED_PASSWORD=`mkpasswd -m sha-512 ${PASSWORD}`
391
391
392 # Set up default user
392 # Set up default user
393 if [ "$ENABLE_USER" = true ] ; then
393 if [ "$ENABLE_USER" = true ] ; then
394 chroot_exec adduser --gecos \"Raspberry PI user\" --add_extra_groups --disabled-password pi
394 chroot_exec adduser --gecos \"Raspberry\ PI\ user\" --add_extra_groups --disabled-password pi
395 chroot_exec usermod -a -G sudo -p "${ENCRYPTED_PASSWORD}" pi
395 chroot_exec usermod -a -G sudo -p "${ENCRYPTED_PASSWORD}" pi
396 fi
396 fi
397
397
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant