diff options
author | Juan RP <xtraeme@gmail.com> | 2015-02-14 12:44:10 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-02-14 12:44:10 +0100 |
commit | ca8d1ff70bbd4ffbb3538c919e17642927f571b4 (patch) | |
tree | 668b2d789226d454bcc03fa3c719ddc080b7cfbf /dracut | |
parent | a0a774efab01b4203e62ca7d8c3e42c012203857 (diff) | |
download | hrmpf-ca8d1ff70bbd4ffbb3538c919e17642927f571b4.tar.gz hrmpf-ca8d1ff70bbd4ffbb3538c919e17642927f571b4.tar.xz hrmpf-ca8d1ff70bbd4ffbb3538c919e17642927f571b4.zip |
dracut/adduser: add user to the audio/video groups.
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/adduser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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). |