centos关闭sendmail

26点 林涛 5883℃ 0评论

1,关闭sendmail服务

/etc/rc.d/init.d/sendmail stop

 

Shutting down sendmail:         [ OK ]
Shutting down sm-client:         [ OK ]

 

2,关闭sendmail自启动

[root@lsp ~]# chkconfig sendmail off

 

3,确认sendmail自启动已被关闭(都为off就OK)

[root@lsp ~]# chkconfig –list sendmail

sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

 

————–

chkconfig –list 可以用来查看所有的服务

 

如果提示chkconfig命令找不到,可使用/sbin/chkconfig的形式

如需转载请注明: 转载自26点的博客

本文链接地址: centos关闭sendmail

转载请注明:26点的博客 » centos关闭sendmail

喜欢 (0)
发表我的评论
取消评论

表情