Which describes the minimum set of commands to be executed to bring the svc: /network/ssh: default service back online?

The following information is displayed for the svc:/network/ssh service:

Which describes the minimum set of commands to be executed to bring the svc: /network/ssh:
default service back online?

The following information is displayed for the svc:/network/ssh service:

Which describes the minimum set of commands to be executed to bring the svc: /network/ssh:
default service back online?

A.
svcadm refresh svc:/network/ssh:default

B.
svcadm restart svc:/network/ssh:default

C.
svcadm enable svc:/system/cryptosvc

D.
svcadm enable svc:/system/cryptosvc
svcadm enable svc:/network/ipfilter:default
svcadm enable svc:/network/ssh:default

E.
svcadm enable svc:/system/cryptosvc
svcadm enable svc:/network/ipfilter:default
svcadm refresh svc:/network/ssh:default

F.
svcadm restart svc:/system/cryptosvc
svcadm restart svc:/network/ipfilter:default
svcadm restart svc:/network/ssh:default

G.
svcadm enable svc:/system/ssh:default



Leave a Reply 2

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

fourteen + thirteen =


iietam

iietam

Correct C

When you disable cryptosvc on next restart ssh go offline like the exhibit shown.
When you enable cryptosvc ssh go online.

Table 2. SMF Service States
State Description
uninitialized This is the initial state of all services until its restarter (usually svc.startd) moves services to another state.
offline The instance is enabled but not yet running or unable to run.
online The instance is enabled and running.
maintenance The instance is enabled but unable to run for some reason, and administrative action will be required.
disabled The instance is disabled.
legacy-run The service is not directly managed by SMF, but it was started at some point.
If, for any reason, we wanted to restart a service, we could use the svcadm restart command.

Reference:
http://www.oracle.com/technetwork/articles/servers-storage-admin/intro-smf-basics-s11-1729181.html