CentOS linux操作系統關閉Sendmail服務命令

關閉sendmail服務

(1)[root@sample~]#/etc/rc.d/init.d/sendmailstop ←關閉sendmail服務
或者[root@sample~]#servicesendmailstop ←關閉sendmail服務
Shuttingdownsendmail:[OK]
Shuttingdownsm-client:[OK]

(2)[root@sample~]#chkconfigsendmailoff ←關閉sendmail自啓動

(3)[root@sample~]#chkconfig--listsendmail ←確認sendmail自啓動已被關閉(都爲off就OK)
sendmail0:off1:off2:off3:off4:off5:off6:off

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章