aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-03-22 17:39:12 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-03-22 17:39:12 +0000
commit80a65450bd92bd7d24c8e5087856053bbacfe9d9 (patch)
tree5e8858584f8e33a80645e9284b7616741d142fbf /init-sh/lib.sh
parentee50375647abff0b29c25673938835cbac434eb7 (diff)
downloadmsec-80a65450bd92bd7d24c8e5087856053bbacfe9d9.tar
msec-80a65450bd92bd7d24c8e5087856053bbacfe9d9.tar.gz
msec-80a65450bd92bd7d24c8e5087856053bbacfe9d9.tar.bz2
msec-80a65450bd92bd7d24c8e5087856053bbacfe9d9.tar.xz
msec-80a65450bd92bd7d24c8e5087856053bbacfe9d9.zip
*** empty log message ***
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 7f55c7c..7b395a7 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -181,6 +181,8 @@ CleanRules /etc/security/msec/security.conf
CommentUserRules /etc/security/msec/security.conf
CleanRules /etc/profile
CleanRules /etc/lilo.conf
+CleanRules /etc/logrotate.conf
+CleanRules /etc/rc.d/rc.local
CleanRules /etc/rc.d/rc.firewall
CleanRules /etc/crontab
CleanRules /etc/X11/xdm/Xsession
@@ -192,9 +194,13 @@ echo "Setting spoofing protection : "
AddRules "echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter" /etc/rc.d/rc.firewall
# default group which must exist on the system
+# groupadd already check for their existance...
groupadd nogroup >& /dev/null
groupadd audio >& /dev/null
groupadd xgrp >& /dev/null
+groupadd ntools >& /dev/null
+groupadd ctools >& /dev/null
+
usermod -G xgrp xfs
/usr/share/msec/grpuser.sh --clean