单选题After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()A Use refresh -s sshdB Use init.sshd /et

题目
单选题
After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()
A

Use refresh -s sshd

B

Use init.sshd /etc/rc.ssh

C

Use /usr/sbin/sshd -restart

D

Use stopsrc -s sshd and then startsrc -s sshd

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()

A. Use refresh -s sshd

B. Use init.sshd /etc/rc.ssh

C. Use /usr/sbin/sshd -restart

D. Use stopsrc -s sshd and then startsrc -s sshd


参考答案:D

第2题:

A system is being booted into maintenance mode due to root password recovery.After accessing the root volume group and starting a shell without mounting the file systems, what is the next step?()

  • A、Delete root's password from the /etc/security/passwd file
  • B、Use the diag recovery tool option to reset root's password
  • C、Execute the ‘passwd’ command and assign a new passwd to root UID
  • D、Mount the / and /usr filesystems on alternative mount points to edit the password file

正确答案:D

第3题:

An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?()

A. comment out telnetd in /etc/services refresh -s inetd

B. comment out telnetd in /etc/inetd.conf refresh -s inetd

C. comment out telnetd in /etc/rc.tcpip refresh -s telnetd

D. comment out telnetd in /etc/inetd.conf refresh -s telnetd


参考答案:B

第4题:

An administrator needs to configure a server (192.168.22.22) as a temporary solution for an NTP master that has stopped working. What is the process for configuring the NTP master?()

  • A、Edit the /etc/ntp.conf file changing the server line to 'server 127.127.1.0' and add the line 'fudge 127.127.1.0 stratum 0', and then refresh the daemon.
  • B、Edit the /etc/ntp.conf file changing the server line to 'server 127.127.1.0' and add the line 'master 127.127.1.0 stratum 0', and then refresh the daemon.
  • C、Edit the /etc/ntp.conf file changing the server line to 'server 192.168.22.22' and add the line 'fudge 192.168.22.22 stratum 0', and then refresh the daemon.
  • D、Edit the /etc/ntp.conf file changing the server line to 'server 192.168.22.22' and add the line 'master 192.168.22.22 stratum 0', and then refresh the daemon.

正确答案:C

第5题:

An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?()

  • A、comment out telnetd in /etc/services refresh -s inetd
  • B、comment out telnetd in /etc/inetd.conf refresh -s inetd
  • C、comment out telnetd in /etc/rc.tcpip refresh -s telnetd
  • D、comment out telnetd in /etc/inetd.conf refresh -s telnetd

正确答案:B

第6题:

After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()

  • A、Use refresh -s sshd
  • B、Use init.sshd /etc/rc.ssh
  • C、Use /usr/sbin/sshd -restart
  • D、Use stopsrc -s sshd and then startsrc -s sshd

正确答案:D

第7题:

A system is being booted into maintenance mode due to root password recovery.  After accessing the root volume group and starting a shell without mounting the file systems, what is the next step?()  

  • A、Delete root’s password from the /etc/security/passwd file.
  • B、Use the diag recovery tool option to reset root’s password.
  • C、Execute the ’passwd’ command and assign a new passwd to root UId
  • D、Mount the / and /usr filesystems on alternative mount points to edit the password file.

正确答案:D

第8题:

Operator needs to remove all leading comments from shell.script file. Which of the following vi sub-command can achieve this?()

A. :r/^#//g

B. :1,$ s/^#//g

C. :sed s/^#//g

D. :sub s/^#//g


参考答案:D

第9题:

A system administrator decides to review the system error log after installing new hardware. Which of the following is the correct command to use?()

  • A、errpt
  • B、syslog
  • C、prtdiag
  • D、errlogger

正确答案:A

第10题:

A system has a critical need for network services on a small network with a limited number of hosts. System overhead is not a concern. Which of the following should the system administrator do to help ensure connectivity in the event of a gateway failure?()

  • A、Use the ifconfig command to enable dead gate detection
  • B、Use the no command to set active dead gateway detection
  • C、Use the route command to set active dead gateway detection
  • D、Add the line active_dgd=1 to the /etc/gated.conf command and refresh the gated daemon

正确答案:C

更多相关问题