Unified · Split
| @@ -23,7 +23,7 @@ if ! grep -q ${USERSHELL} ${NEWROOT}/etc/shells ; then · 22 unmodified lines | |||
| 23 | fi | 23 | fi |
| 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. |
| 26 | chroot ${NEWROOT} useradd -m -c $USERNAME -G wheel -s $USERSHELL $USERNAME | 26 | chroot ${NEWROOT} useradd -m -c $USERNAME -G audio,video,wheel -s $USERSHELL $USERNAME |
| 27 | chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&1 | 27 | chroot ${NEWROOT} passwd -d $USERNAME >/dev/null 2>&1 |
| 28 | 28 | ||
| 29 | # Setup default root/user password (voidlinux). | 29 | # Setup default root/user password (voidlinux). |