|
@@ -12,7 +12,7 @@ echo "USERNAME=$USERNAME" >> ${NEWROOT}/etc/default/live.conf
|
|
chmod 644 ${NEWROOT}/etc/default/live.conf
|
|
chmod 644 ${NEWROOT}/etc/default/live.conf
|
|
|
|
|
|
# Create new user and remove password. We'll use autologin by default.
|
|
# Create new user and remove password. We'll use autologin by default.
|
|
-chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G systemd-journal,wheel -s /bin/sh
|
|
|
|
|
|
+chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G systemd-journal,wheel -s /bin/bash
|
|
chroot ${NEWROOT} passwd -d $USERNAME 2>&1 >/dev/null
|
|
chroot ${NEWROOT} passwd -d $USERNAME 2>&1 >/dev/null
|
|
|
|
|
|
# Enable sudo permission by default.
|
|
# Enable sudo permission by default.
|