History

dracut/adduser: add user to the audio/video groups.

Juan RP committed 11 years ago

Commit ca8d1ff1 parent a0a774e1 file · +1 −1Browse files

Unified · Split

dracut/adduser.sh+1−1
@@ -23,7 +23,7 @@ if ! grep -q ${USERSHELL} ${NEWROOT}/etc/shells ; then · 22 unmodified lines
2323 fi
2424
2525 # Create new user and remove password. We'll use autologin by default.
26−chroot ${NEWROOT} useradd -m -c $USERNAME -G wheel -s $USERSHELL $USERNAME
26+chroot ${NEWROOT} useradd -m -c $USERNAME -G audio,video,wheel -s $USERSHELL $USERNAME
2727 chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&1
2828
2929 # Setup default root/user password (voidlinux).

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