From ca8d1ff70bbd4ffbb3538c919e17642927f571b4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Feb 2015 12:44:10 +0100 Subject: [PATCH] dracut/adduser: add user to the audio/video groups. --- dracut/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/adduser.sh b/dracut/adduser.sh index 68b6bd4..f006424 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -23,7 +23,7 @@ if ! grep -q ${USERSHELL} ${NEWROOT}/etc/shells ; then fi # Create new user and remove password. We'll use autologin by default. -chroot ${NEWROOT} useradd -m -c $USERNAME -G wheel -s $USERSHELL $USERNAME +chroot ${NEWROOT} useradd -m -c $USERNAME -G audio,video,wheel -s $USERSHELL $USERNAME chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&1 # Setup default root/user password (voidlinux).