Parcourir la source

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

Juan RP il y a 10 ans
Parent
commit
ca8d1ff70b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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).