In a Linux system, how do you stop the POP3, IMAPD, and FTP services?
A.
By changing the permissions on the configuration file that controls the service (/sbin/inetd), then recompiling /etc/inetd.config
B.
By commenting out the service using the # symbol in the text file /etc/inetd.conf, then restarting the inetd daemon
C.
By recompiling the system kernel, making sure you have disabled that service
D.
By commenting out the service using the $ symbol in the text file /etc/inetd.conf, then restarting the inetd daemon.
Explanation:
Use the # symbol to comment out the service, then restart inetd.
Incorrect Answers:
A: If this made any sense, you would also lock out the WWW service and disable the Web Server, which is not want you want to do here. Inetd.conf does not get compiled.
C: The services for inetd are loaded based on the control cards in the text file. It is not specified in the kernel, so recompiling it will not accomplish stopping the services.
D: The comment symbol is a #, not a $.