aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level1.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 15:51:15 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 15:51:15 +0000
commitb17e23b6201a9d0965662f8a4b2972ee2e570b9a (patch)
tree19f4d1013d6d12cc146049a5ef265dbcbb462672 /init-sh/level1.sh
parent043bb7a6cc19f3030075fd00c3cf0f108ec68e86 (diff)
downloadmsec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.gz
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.bz2
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.tar.xz
msec-b17e23b6201a9d0965662f8a4b2972ee2e570b9a.zip
Ok now add the user list to audio group ( level 1 & 2 ).
lib.sh delete user list from audio group
Diffstat (limited to 'init-sh/level1.sh')
-rwxr-xr-xinit-sh/level1.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 8654fb2..7980fa0 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -64,8 +64,11 @@ AddRules "PATH=\$PATH:/usr/X11R6/bin:." /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
# Group
-echo "Adding \"${USERNAME} to audio group :"
-usermod -G audio "${USERNAME}"
+echo -n "Adding \"${USERS_DRAKX}\" to audio group :"
+for user in ${USERS_DRAKX}; do
+ usermod -G audio "${user}"
+done
+echo "done."