From 18794fc3f26e9bf9df23d5bc55a502065069ed67 2016-03-06 13:51:00 From: Jan Wagner Date: 2016-03-06 13:51:00 Subject: [PATCH] user fix --- diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh index f86a7ca..f47e8c2 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -391,7 +391,7 @@ ENCRYPTED_PASSWORD=`mkpasswd -m sha-512 ${PASSWORD}` # Set up default user if [ "$ENABLE_USER" = true ] ; then - chroot_exec adduser --gecos \"Raspberry\ PI\ user\" --add_extra_groups --disabled-password pi + chroot_exec adduser --gecos pi --add_extra_groups --disabled-password pi chroot_exec usermod -a -G sudo -p "${ENCRYPTED_PASSWORD}" pi fi