Add regular user to dialout group for Stellarium
[hvlinux.git] / stage5 / post-install
index e3f50c8..383ab6e 100755 (executable)
@@ -8,7 +8,9 @@ if [ -n "${REGUSER}" ]; then
     hv_useradd -g users -s /bin/bash -m ${REGUSER}
 
     # Add user to these supplementary groups:
-    usermod -a -G audio,video,cdrom,usb,shutdown ${REGUSER}
+    usermod -a -G \
+            audio,dialout,video,cdrom,usb,shutdown,kvm,lp,lpadmin,scanner,plugdev \
+            ${REGUSER}
 fi
 
 if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then