summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-06-03 15:04:48 +0200
committer Eric Hameleers <alien@slackware.com>2016-06-03 15:04:48 +0200
commit2741b33b47e2f49930395b318341896e2a512380 (patch)
tree916c0cf078bd183d4657e11499846cd3bc428ee6
parent6fd789cce0e6fa088ef3b31530e1035f55747dad (diff)
downloadliveslak-2741b33b47e2f49930395b318341896e2a512380.tar.gz
liveslak-2741b33b47e2f49930395b318341896e2a512380.tar.xz
Add the 'live' user account to additonal groups "dialout,games,disk".
The "dialout" group is required for working with 3G USB modems and ppp connections. If the user wants to play UNIX games, then the "games" group membership is needed. And "disk" group was added for good measure.
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 89b2217..c9aab05 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1042,7 +1042,7 @@ EOL
echo "root:${ROOTPW}" | chpasswd --root ${LIVE_ROOTDIR}
# Create a nonprivileged user account "live":
-chroot ${LIVE_ROOTDIR} /usr/sbin/useradd -c "Slackware Live User" -g users -G wheel,audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner,kmem -u 1000 -d /home/live -m -s /bin/bash live
+chroot ${LIVE_ROOTDIR} /usr/sbin/useradd -c "Slackware Live User" -g users -G wheel,audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner,kmem,dialout,games,disk -u 1000 -d /home/live -m -s /bin/bash live
echo "live:${LIVEPW}" | chpasswd --root ${LIVE_ROOTDIR}
# Configure suauth: