From 089b8a41f1e3facbd543fbacc907b440fd683dc3 Mon Sep 17 00:00:00 2001 From: Jinnan Wang Date: Tue, 18 Mar 2014 15:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=09=E7=A7=BB=E9=99=A4other.sh=E4=B8=AD=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除的内容包括date能力配置和postfix访问权限。 --- install_shell/other.sh | 11 ----------- 1 file changed, 11 deletions(-) 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/