Linux command to disable the service (such as sendmail)
Source: Internet
Author: User
Disable sendmail service a. [root @ sample ~] #/Etc/rc. d/init. d/sendmailstop & amp; larr; disable the sendmail service or [root @ sample ~] # Servicesendmailstop & amp; larr; disable the sendmail service Shuttingdownsendmail and disable the sendmail service a. [root @ sample ~] #/Etc/rc. d/init. d/sendmail stop quit disable the sendmail service or [root @ sample ~] # Service sendmail stop messages disable sendmail service Shutting down sendmail: [OK] Shutting down sm-client: [OK]
B. [root @ sample ~] # Chkconfig sendmail off startup disable sendmail from startup
C. [root @ sample ~] # Chkconfig -- list sendmail enabled: make sure that the sendmail auto-start has been disabled (all of them are OK) sendmail 0: off 1: off 2: off 3: off 4: off 5: off 6: off author qinggzha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service