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
23fi23fi
24 24
25# Create new user and remove password. We'll use autologin by default.25# Create new user and remove password. We'll use autologin by default.
26chroot ${NEWROOT} useradd -m -c $USERNAME -G wheel -s $USERSHELL $USERNAME26chroot ${NEWROOT} useradd -m -c $USERNAME -G audio,video,wheel -s $USERSHELL $USERNAME
27chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&127chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&1
28 28
29# Setup default root/user password (voidlinux).29# 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