History

dracut/adduser.sh: change shell to bash for the live user.

Juan RP committed 13 years ago

Commit 496ab551 parent cf53bdf1 file · +1 −1Browse files

Unified · Split

dracut/adduser.sh+1−1
@@ -12,7 +12,7 @@ echo "USERNAME=$USERNAME" >> ${NEWROOT}/etc/default/live.conf · 11 unmodified lines
12chmod 644 ${NEWROOT}/etc/default/live.conf12chmod 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.
15chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G systemd-journal,wheel -s /bin/sh15chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G systemd-journal,wheel -s /bin/bash
16chroot ${NEWROOT} passwd -d $USERNAME 2>&1 >/dev/null16chroot ${NEWROOT} passwd -d $USERNAME 2>&1 >/dev/null
17 17
18# Enable sudo permission by default.18# Enable sudo permission by default.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t