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