From 957b9898e903be78785aefb5ec1e44553d86f897 Mon Sep 17 00:00:00 2001 From: Wang Jinnan Date: Wed, 26 Mar 2014 22:33:50 -0700 Subject: [PATCH] Remove chown/chmod /var/log/* scripts. Because We exchange sysklogd to rsyslog in rocky4.2 and rsyslog will be hold by sysadmin. --- install_shell/other.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/install_shell/other.sh b/install_shell/other.sh index a6db313..126beb4 100755 --- a/install_shell/other.sh +++ b/install_shell/other.sh @@ -26,16 +26,6 @@ cp inetd.conf /etc chown root.root /etc/inetd.conf chmod 644 /etc/inetd.conf -touch /var/log/kernel -chown audadmin.audadmin /var/log/kernel* -chmod 644 /var/log/kernel* -chown audadmin.audadmin /var/log/messages* -chmod 644 /var/log/messages* -chown audadmin.audadmin /var/log/auth* -chmod 644 /var/log/auth* -touch /var/log/errors -chown audadmin.audadmin /var/log/errors* -chmod 644 /var/log/errors* chown -R audadmin.audadmin /etc/cron/daily/ #chown -R audadmin.audadmin /etc/cron/weekly/ chown audadmin.audadmin /etc/logrotate.conf