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 # # sshd Start up the OpenSSH server
daemon # # chkconfig: 2345 55 25 # 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?

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 # # sshd Start up the OpenSSH server
daemon # # chkconfig: 2345 55 25 # 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 start In run levels 2, 3, 4 and 5.

B.
The sshd service configuration is restored to start in run levels 2 and 5 only.

C.
The sshd service configuration is restored to those that existed after the operating
system was first installed.

D.
The sshd service configuration is restored to the settings that existed before setting it off.



Leave a Reply 0

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