Forráskód Böngészése

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

Juan RP 10 éve
szülő
commit
ca8d1ff70b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      dracut/adduser.sh

+ 1 - 1
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).