niusouti.com

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 /etc

题目

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


相似考题
更多“After performing a modification on the /etc/ssh/sshd_config file the operator needs to rei ”相关问题
  • 第1题:

    Which of the following files should be edited to disable remote machines from performing a "finger" on a system?()

    • A、/etc/security/user
    • B、/etc/services
    • C、/etc/inetd.conf
    • D、/etc/hosts.equiv

    正确答案:C

  • 第2题:

    如何启动ssh服务()。

    • A、service sshd status
    • B、/etc/init.d/ssh status
    • C、service ssh statrt
    • D、service sshd start

    正确答案:D

  • 第3题:

    The /etc/qconfig file needs to be modified on a busy AIX print server with 30 printers attached.  What action should be performed before modifying this file()

    • A、lpstat; Record the currently running jobs
    • B、enq -D
    • C、enq -X
    • D、enq -h -p

    正确答案:B

  • 第4题:

    Because of changes in an application environment, the /etc/inittab file needs to be modified.  Which of the following commands would be used to accomplish this in a supported manner()

    • A、vi
    • B、chitab
    • C、chssys
    • D、chrsrc

    正确答案:B

  • 第5题:

    An administrator wants to restore the /etc/resolv.conf file from a mksysb backup onto server1. After the mksysb is mounted in /mnt/backup/ from the local nim server. Which command should be run to restore the file?()

    • A、tar -xvf /mnt/backup/server1.mksysb ./etc/resolv.conf
    • B、restore -Tvf /mnt/backup/server1.mksysb ./etc/resolv.conf
    • C、listvgbackup -f /mnt/backup/server1.mksysb -r ./etc/resolv.conf
    • D、restorevgfiles -xrm /mnt/backup/server1.mksysb ./etc/resolv.conf

    正确答案:C

  • 第6题:

    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

  • 第7题:

    A file system has been corrupted and needs to be restored.  Which file contains the ufsdump levels for this file system? ()

    • A、 /etc/backup
    • B、 /etc/ufsdump
    • C、 /etc/dumpdates
    • D、 /etc/fsdumpdates

    正确答案:C

  • 第8题:

    单选题
    What command should a system administrator run after using an editor to create the /etc/tunables/nextboot file?()
    A

    ksh -n nextboot

    B

    tunsave -a -f nextboot

    C

    tuncheck -r -f nextboot

    D

    diff $(vmtune) /etc/tunables/nextboot


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    可通过修改哪个文件,更改ssh服务的默认端口()。
    A

    /etc/ssh/sshd_config

    B

    /etc/ssh/ssh_config

    C

    /etc/sysconfig/ssh

    D

    /etc/sysconfig/sshd


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    An administrator wants to restore the /etc/resolv.conf file from a mksysb backup onto server1.  After the mksysb is mounted in /mnt/backup/ from the local nim server, which command should be run to restore the file? ()
    A

    tar -xvf /mnt/backup/server1.mksysb ./etc/resolv.conf

    B

    restore -Tvf /mnt/backup/server1.mksysb ./etc/resolv.conf

    C

    listvgbackup -f /mnt/backup/server1.mksysb  -r ./etc/resolv.conf

    D

    restorevgfiles -xrm /mnt/backup/server1.mksysb ./etc/resolv.conf


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    After performing a copy backup of a file server, the archive bit on the backed up files will be which of the following?()
    A

     Deleted

    B

     Unchanged

    C

     Set

    D

     Copied


    正确答案: D
    解析: 暂无解析

  • 第13题:

    可通过修改哪个文件,更改ssh服务的默认端口()。

    • A、/etc/ssh/sshd_config
    • B、/etc/ssh/ssh_config
    • C、/etc/sysconfig/ssh
    • D、/etc/sysconfig/sshd

    正确答案:A

  • 第14题:

    After performing a copy backup of a file server, the archive bit on the backed up files will be which of the following?()

    • A、 Deleted
    • B、 Unchanged
    • C、 Set
    • D、 Copied

    正确答案:B

  • 第15题:

    During an attempt to 'scp' between two hosts, an error indicating PRNG is not seeded is displayed. What is the likely cause of the error?()

    • A、The sshd user id is locked.
    • B、The /var/empty directory needs to be created.
    • C、PRNG is set to 'no' in the /etc/ssh/sshd_config file.
    • D、The permissions on /dev/random and /dev/urandom are incorrect.

    正确答案:D

  • 第16题:

    A System p administrator needs to set the default password length for all users to six characters.  Which of the following files needs to be edited to accomplish this ()

    • A、/etc/security/limits
    • B、/etc/security/mkuser.sys
    • C、/etc/security/priv
    • D、/etc/security/user

    正确答案:D

  • 第17题:

    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 addthe line 'master 192.168.22.22 stratum 0', and then refresh the daemon.

    正确答案:C

  • 第18题:

    An administrator needs to change a system’s run level from level 2 to level 3. What is the appropriate  method to accomplish this()

    • A、Use the reboot command.
    • B、Edit the /etc/reboot file and reboot the system.
    • C、Edit /etc/.init.state file and reboot the system.
    • D、Use the telinit command

    正确答案:D

  • 第19题:

    单选题
    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


    正确答案: B
    解析: 暂无解析

  • 第20题:

    单选题
    Linux系统里,想要禁止root远程登陆,需要修改()文件,然后重启服务。
    A

    /etc/sshd/ssh_config

    B

    /etc/sshd/sshd_config

    C

    /etc/ssh/ssh_config

    D

    /etc/ssh/sshd_config


    正确答案: B
    解析: 暂无解析

  • 第21题:

    单选题
    A file system has been corrupted and needs to be restored.  Which file contains the ufsdump levels for this file system? ()
    A

     /etc/backup

    B

     /etc/ufsdump

    C

     /etc/dumpdates

    D

     /etc/fsdumpdates


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    During an attempt to ’scp’ between two hosts, an error indicating PRNG is not seeded is displayed.What is the likely cause of the error?()
    A

    The sshd user id is locked.

    B

    The /var/empty directory needs to be created.

    C

    PRNG is set to ’no’ in the /etc/ssh/sshd_config file.

    D

    The permissions on /dev/random and /dev/urandom are incorrect.


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    如何启动ssh服务()。
    A

    service sshd status

    B

    /etc/init.d/ssh status

    C

    service ssh statrt

    D

    service sshd start


    正确答案: D
    解析: 暂无解析