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:[[email protected] ~] 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:[[email protected] ~] # chkconfig sshd off[[email protected] ~] # chkconfig sshd resetWhat is the result of the two commands issued?
Question:
What is the result of the two commands issued?
Options:
The sshd service configuration is restored to the settings that existed before setting it off.
The sshd service configuration is restored to start In run levels 2, 3, 4 and 5.
The sshd service configuration is restored to start in run levels 2 and 5 only.
The sshd service configuration is restored to those that existed after the operating system was first installed.
Correct Answer
The Correct Answer for this Question is
The sshd service configuration is restored to those that existed after the operating system was first installed.