diff --git a/install_shell/other.sh b/install_shell/other.sh index 4c56599..0f12016 100755 --- a/install_shell/other.sh +++ b/install_shell/other.sh @@ -65,10 +65,11 @@ 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 -R audadmin.audadmin /etc/cron/weekly/ chown audadmin.audadmin /etc/logrotate.conf touch /var/lib/logrotate.status chown audadmin.audadmin /var/lib/logrotate.status @@ -131,7 +132,7 @@ if [ $? -ne 0 ];then echo "export HISTTIMEFORMAT" >> ~sysadmin/.bashrc fi if [ "${USER_SHELL}" == "tcsh" ];then - chmod -R 644 ${USER_HOME}/.history_log/* + chmod -R 644 ${USER_HOME}/.history_log/ else grep HISTTIMEFORMAT ${USER_HOME}/.bashrc &> /dev/null if [ $? -ne 0 ];then