What is the result of the two commands issued?

The SSHD service is controlled by the script in /etc/init.d/sshd, part of which is shown here:
[root@FAROUT ~] cat /etc/init.d/sshd
# !/bin/bash
#
# sshdStart up the OpenSSH server daemon
#
# chkconfig: 23455525
# description: SSH is a protocol for secure remite shell access. # This service starts up the Open SSH server daemon. #
You issue chkconfig commands to change the sshd service:
[root@FAROUT ~] # chkconfig sshd off
[root@FAROUT ~] # chkconfig sshd reset
What is the result of the two commands issued?
A. The sshd service configuration is restored to the settings that existed before setting it off.
B. The sshd service configuration is restored to start In run levels 2, 3, 4 and 5.
C. The sshd service configuration is restored to start in run levels 2 and 5 only.
D. The sshd service configuration is restored to those that existed after the operating system was first installed.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.