aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level0.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 16:44:11 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 16:44:11 +0000
commit9422e4962af0d43308cfae95ab8e7370ee035525 (patch)
tree02af58f7f20cf67116317f6911e6b9555385367b /init-sh/level0.sh
parente32553ef75d82fb7ec8c85a559d7ab4d10e6529f (diff)
downloadmsec-9422e4962af0d43308cfae95ab8e7370ee035525.tar
msec-9422e4962af0d43308cfae95ab8e7370ee035525.tar.gz
msec-9422e4962af0d43308cfae95ab8e7370ee035525.tar.bz2
msec-9422e4962af0d43308cfae95ab8e7370ee035525.tar.xz
msec-9422e4962af0d43308cfae95ab8e7370ee035525.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level0.sh')
-rwxr-xr-xinit-sh/level0.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init-sh/level0.sh b/init-sh/level0.sh
index a0cd43c..1e0a7f1 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -65,6 +65,11 @@ echo "Adding \"non secure\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
+# Xserver
+echo "Allowing users to connect X server from everywhere :"
+AddRules "/usr/X11R6/bin/xhost +" /etc/X11/xdm/Xsession quiet
+AddRules "/usr/X11R6/bin/xhost +" /etc/X11/xinit/xinitrc
+
# Group
echo -n "Adding \"${DRAKX_USERS}\" to audio group :"
for user in ${DRAKX_USERS}; do