linux – 用户smmsp在auth.log中反复找到
运行一个托管大约10个Wordpress网站的Ubuntu服务器
在我的身份验证日志中找到这个是正常的吗? Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session opened for user smmsp by (uid=0) Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session closed for user smmsp Oct 26 09:00:01 andre CRON[6874]: pam_unix(cron:session): session opened for user smmsp by (uid=0) Oct 26 09:00:01 andre CRON[6874]: pam_unix(cron:session): session closed for user smmsp 我不确定为什么会为这样的sendmail打开和关闭会话. 我看到这是syslog: Oct 27 08:20:01 andre CRON[7664]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Oct 27 08:20:01 andre postfix/pickup[1272]: 1F29212C7FF: uid=107 from=<smmsp> Oct 27 08:20:01 andre postfix/cleanup[7683]: 1F29212C7FF: message-id=<20141027082001.1F29212C7FF@andre> Oct 27 08:20:01 andre postfix/qmgr[1274]: 1F29212C7FF: from=<smmsp@server.example.com>,size=676,nrcpt=1 (queue active) Oct 27 08:20:01 andre postfix/local[7685]: 1F29212C7FF: to=<root@server.example.com>,orig_to=<root>,relay=local,delay=0.02,delays=0.02/0.01/0/0,dsn=2.0.0,status=sent (delivered to maildir) 这是cron.d中的内容: -rw-r--r-- 1 root root 544 Feb 28 2014 php5 -rw-r--r-- 1 root root 102 Apr 2 2012 .placeholder -rw-r--r-- 1 root root 2323 Apr 10 2014 sendmail 还跑这个: service sendmail status MSP: is run via cron (20m) MTA: is not running QUE: Same as MTA 我不确定这种行为是否正常,或者正在使用什么smmsp. 解决方法
为了将来读者在服务器故障上搜索smmsp的好处:
smmsp smmsp(SendMail邮件提交程序)用户和组特定于Sendmail程序包,并且不会被Postfix或任何其他邮件传输代理(MTA)使用. 如果尚未为sendmail命令配置特定的非root用户,则smmsp是Sendmail使用的默认用户.它是作为一种安全措施引入的,因此sendmail中的漏洞无法为开发人员提供对系统的root访问权限. 从Sendmail Installation and Operation Guide
另见Sendmail,第4版(O’Reilly)的Add smmsp to /etc/passwd. 检查/删除Sendmail 根据问题中提供的信息,Postfix和Sendmail同时安装(并运行).这可以通过运行来验证, dpkg -l | grep sendmail 要避免两个MTA之间发生冲突,请删除上一个命令列出的Sendmail软件包. 看来很多其他用户认为他们删除了Sendmail,实际上只卸载了sendmail-base和sendmail包,所以他们不得不删除以下包: aptitude purge sendmail-bin sendmail-cf sendmail-doc 这是来自另一个用户的相关帖子,他们认为他们已从系统中卸载了Sendmail:Postfix/Sendmail: Frequent emails from smmsp to root. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |