linux – 用户smmsp在auth.log中反复找到

linux – 用户smmsp在auth.log中反复找到,第1张

概述运行一个托管大约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 运行一个托管大约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 smmspOct 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 statusMSP: is run via cron (20m)MTA: is not runningQUE: Same as MTA

我不确定这种行为是否正常,或者正在使用什么smmsp.

解决方法 为了将来读者在服务器故障上搜索smmsp的好处:

smmsp

smmsp(SendMail邮件提交程序)用户和组特定于Sendmail程序包,并且不会被Postfix或任何其他邮件传输代理(MTA)使用.

如果尚未为sendmail命令配置特定的非root用户,则smmsp是Sendmail使用的默认用户.它是作为一种安全措施引入的,因此sendmail中的漏洞无法为开发人员提供对系统的root访问权限.

从Sendmail Installation and Operation Guide

The binary for sendmail is located in /usr/sbin. It should be set-group-ID smmsp

另见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.

总结

以上是内存溢出为你收集整理的linux – 用户smmsp在auth.log中反复找到全部内容,希望文章能够帮你解决linux – 用户smmsp在auth.log中反复找到所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/1044028.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-24
下一篇2022-05-24

发表评论

登录后才能评论

评论列表(0条)

    保存