CompTIA Linux+ (XK0-004) — Question 124

A Linux administrator needs to prevent the Postfix mail transfer agent from starting on boot.
Which of the following commands will accomplish this task?

Answer options

Correct answer: B

Explanation

The correct command to use is /etc/init.d/postfix stop, which immediately stops the Postfix service. The other options either stop the service temporarily or disable it incorrectly, which does not achieve the goal of preventing it from starting on boot.