Add lp group to regular user
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 5 Jan 2015 03:22:08 +0000 (22:22 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 8 Jan 2015 22:12:31 +0000 (17:12 -0500)
stage5/post-install

index c50b649..6e32ab1 100755 (executable)
@@ -8,7 +8,8 @@ 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,kvm,lpadmin,scanner,plugdev  \
+    usermod -a -G \
+            audio,video,cdrom,usb,shutdown,kvm,lp,lpadmin,scanner,plugdev \
             ${REGUSER}
 fi