diff --git a/install_shell/other.sh b/install_shell/other.sh index 0f12016..dc189f4 100755 --- a/install_shell/other.sh +++ b/install_shell/other.sh @@ -75,17 +75,6 @@ touch /var/lib/logrotate.status chown audadmin.audadmin /var/lib/logrotate.status chmod 755 /usr/sbin/runjobs -#解决以普通用户运行date命令设置当前时间的问题 -setcap "cap_sys_time+ep" /bin/date - -#解决/var/log/errors中postfix/sendmail:fatal:chair /var/spool/postfix:Permission denied?报错问题 -#解决/var/log/messages中的/usr/sbin/cron[2856]: (sysadmin) MAIL (mailed 126 bytes of output but got status 0x004b )的报错问题 -#mkfifo /var/spool/postfix/public/pickup -#chown postfix.postfix /var/spool/postfix/public/pickup -#setfacl -m u:sysadmin:rwx /var/spool/postfix -#setfacl -m u:sysadmin:rwx /var/spool/postfix/* -#setfacl -m u:sysadmin:rwx /usr/sbin/postdrop - #解决定时抓取占用最大内存的进程名,并记录到/var/log/messages文件中 cp get_max_mem_process.sh /usr/sbin/