LPI
117-201 · Question #209
You've determined that the SSH server is being started by the /etc/rc2.d/S16ssh startup script (or a link of that name). You want to prevent this server from running in runlevel 2. What is the most…
The correct answer is A. Rename the script or link so that its name begins with K rather than S. See the full explanation below for the reasoning.
Question
You've determined that the SSH server is being started by the /etc/rc2.d/S16ssh startup script (or a link of that name). You want to prevent this server from running in runlevel 2. What is the most reliable way to do this?
Options
- ARename the script or link so that its name begins with K rather than S.
- BDelete the /etc/rc2.d directory.
- CDelete the /etc/rc2.d/S16ssh file or link.
- DLocate the corresponding Upstart configuration file and delete it.
How the community answered
(60 responses)- A72% (43)
- B8% (5)
- C3% (2)
- D17% (10)
Community Discussion
No community discussion yet for this question.