dracut/adduser.sh: change shell to bash for the live user.
This commit is contained in:
parent
cf53bdf1d7
commit
496ab55ca8
|
@ -12,7 +12,7 @@ echo "USERNAME=$USERNAME" >> ${NEWROOT}/etc/default/live.conf
|
|||
chmod 644 ${NEWROOT}/etc/default/live.conf
|
||||
|
||||
# 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
|
||||
|
||||
# Enable sudo permission by default.
|
||||
|
|
Loading…
Reference in New Issue