關閉sendmail

 

[root@rac1 ~]# /etc/rc.d/init.d/sendmail stop  ← 關閉sendmail服務

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

[root@rac1 ~]# chkconfig sendmail off  ← 關閉sendmail自啓動

[root@rac1 ~]# chkconfig --list sendmail  ← 確認sendmail自啓動已被關閉(都爲off就OK)
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

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