aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.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/level2.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/level2.sh')
-rwxr-xr-xinit-sh/level2.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 896673c..4ac487f 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -63,6 +63,8 @@ echo "Adding \"normal\" PATH variable :"
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." \ No newline at end of file