Exit 1Z0-100 Oracle Linux 5 and 6 System Administration
Question 5 of 5
0% complete
Q5 Single choice

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 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.