CompTIA
XK0-004 · Question #265
A Linux administrator needs to disable the Sendmail service on a Linux server and prevent it from being started manually and during boot. Which of the following is the BEST command to do this?
The correct answer is B. systemctl mask sendmail. Mask will link the service to /dev/null making it impossible to start the service unless it is
System Management
Question
A Linux administrator needs to disable the Sendmail service on a Linux server and prevent it from being started manually and during boot. Which of the following is the BEST command to do this?
Options
- Asystemctl reset-failed sendmail
- Bsystemctl mask sendmail
- Csystemctl stop sendmail
- Dsystemctl disable sendmail
How the community answered
(47 responses)- A2% (1)
- B89% (42)
- C6% (3)
- D2% (1)
Explanation
Mask will link the service to /dev/null making it impossible to start the service unless it is
Topics
#systemctl mask#service management#boot prevention#Sendmail
Community Discussion
No community discussion yet for this question.