diff --git a/install_shell/other.sh b/install_shell/other.sh index 1d40f5c..4c56599 100755 --- a/install_shell/other.sh +++ b/install_shell/other.sh @@ -79,11 +79,11 @@ 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 +#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文件中