单选题Linux系统里,想要禁止root远程登陆,需要修改()文件,然后重启服务。A/etc/sshd/ssh_configB/etc/sshd/sshd_configC/etc/ssh/ssh_configD/etc/ssh/sshd_config
单选题
Linux系统里,想要禁止root远程登陆,需要修改()文件,然后重启服务。
A
/etc/sshd/ssh_config
B
/etc/sshd/sshd_config
C
/etc/ssh/ssh_config
D
/etc/ssh/sshd_config
参考解析
解析:
暂无解析
相关考题:
Linux系统里,想要禁止root远程登陆,需要修改()文件,然后重启服务。 A./etc/sshd/ssh_configB./etc/sshd/sshd_configC./etc/ssh/ssh_configD./etc/ssh/sshd_config
Linux系统里,如果不想任何人都可以用“su”命令成为root,必须修改()文件。 A./etc/pam.d/rootB./etc/pam.d/suC./etc/security/rootD./etc/security/su
Linux系统可以通过手工编辑配置文件达到对系统进行配置的目的,例如将/etc/inted.conf文件中“#FTP Stream TCP nowait root/usr/sbin/tcpd in.ftpd -1 -a”前的“#”去掉就可以开启FTP服务。修改(56)文件可对允许访问FTP服务的主机范围进行限制。A./etc/access.confB./etc/host.confC./etc/inted.confD./etc/hosts.allow
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/rc.sshC. Use /usr/sbin/sshd -restartD. Use stopsrc -s sshd and then startsrc -s sshd
在RHEL5系统中,若只需要禁止ip地址为192.168.4.100-192.168.4.199的主机访问sshd服务,可以在/etc/hosts.deny文件中添加以下()策略。 A.sshD.192.168.4.100/24B.sshd:192.168.4.100/255.255.255.0C.sshd:192.168.4.1??D.sshd:192.168.4.1*
Duringanattemptto’scp’betweentwohosts,anerrorindicatingPRNGisnotseededisdisplayed.Whatisthelikelycauseoftheerror?() A.Thesshduseridislocked.B.The/var/emptydirectoryneedstobecreated.C.PRNGissetto’no’inthe/etc/ssh/sshd_configfile.D.Thepermissionson/dev/randomand/dev/urandomareincorrect.
可通过修改哪个文件,更改ssh服务的默认端口() A./etc/ssh/sshd_configB./etc/ssh/ssh_configC./etc/sysconfig/sshD./etc/sysconfig/sshd
缺省情况下,Solaris8会禁止以root用户进行ftp,如果要用root用户ftp传送文件,需要修改Soalris中哪个文件?()A、/etc/servicesB、/etc/ftpusersC、/etc/systemD、/etc/defaultrouter
Linux系统的安全设置主要从磁盘上分区、账户安全设置、禁用危险服务、远程登录安全、用户鉴别安全、审计策略、保护root账户、使用网络防火墙的文件权限共10个方面来完成。小张在学习了Linux系统安全的相关知识后,尝试为自己计算机上的Linux系统进行安全配置。下列选项是他的部分操作。其中不合理的是()A、编辑文件/etc/passwd,检查文件中用户ID 禁用所有ID=0的用户B、编辑文件/etcf/ssh/sshd_config。将PermitRootLogin设置为noC、编辑文件/etc/pam.d/system-auth,设置authrequire pam_tally,so onerr-fail deny-6 unlock_time=300
在linux系统中,要设置本机计算机名,并在系统重启后无须重新配置,应修改()文件。A、/etc/sysconfig/networkB、/etc/sbin/hostnameC、/etc/sysconfig/network-scripts/ifcfg-eth0D、/etc/resolv.conf
使用Linux做LVS服务器时,为了转发负载均衡调度的数据包,需要开启Linux系统的包转发功能,这个可以通过修改()文件来实现A、./etc/sysctl.confB、./etc/hostsC、./etc/ipforwarD.confD、./etc/forwarD.conf
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/rc.sshC、Use /usr/sbin/sshd -restartD、Use stopsrc -s sshd and then startsrc -s sshd
在Linux里,要使root用户使用ftp服务,需要修改哪几个文件()A、/etc/vsftpd/vsftpd.confB、/etc/vsftpd.ftpusersC、/etc/vsftpd.user_listD、/etc/ftpd/ftpusers
可通过修改哪个文件,更改ssh服务的默认端口()。A、/etc/ssh/sshd_configB、/etc/ssh/ssh_configC、/etc/sysconfig/sshD、/etc/sysconfig/sshd
如何启动ssh服务()。A、service sshd statusB、/etc/init.d/ssh statusC、service ssh statrtD、service sshd start
如何修改sshd_conf配置文件禁止root用户远程ssh登录主机()。A、PermitRootLogin noB、UseLogin yesC、PermitRootLogin yesD、UseLogin no
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.
单选题Linux系统里,想要禁止root远程登陆,需要修改()文件,然后重启服务。A/etc/sshd/ssh_configB/etc/sshd/sshd_configC/etc/ssh/ssh_configD/etc/ssh/sshd_config
单选题Linux系统里,如果不想任何人都可以用“su”命令成为root,必须修改()文件。A/etc/pam.d/rootB/etc/pam.d/suC/etc/security/rootD/etc/security/su
单选题可通过修改哪个文件,更改ssh服务的默认端口()。A/etc/ssh/sshd_configB/etc/ssh/ssh_configC/etc/sysconfig/sshD/etc/sysconfig/sshd
单选题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?()AThe sshd user id is locked.BThe /var/empty directory needs to be created.CPRNG is set to ’no’ in the /etc/ssh/sshd_config file.DThe permissions on /dev/random and /dev/urandom are incorrect.
单选题在linux系统中,要设置本机计算机名,并在系统重启后无须重新配置,应修改()文件。A/etc/sysconfig/networkB/etc/sbin/hostnameC/etc/sysconfig/network-scripts/ifcfg-eth0D/etc/resolv.conf
单选题如何启动ssh服务()。Aservice sshd statusB/etc/init.d/ssh statusCservice ssh statrtDservice sshd start
单选题如何修改sshd_conf配置文件禁止root用户远程ssh登录主机()。APermitRootLogin noBUseLogin yesCPermitRootLogin yesDUseLogin no
单选题使用Linux做LVS服务器时,为了转发负载均衡调度的数据包,需要开启Linux系统的包转发功能,这个可以通过修改()文件来实现A./etc/sysctl.confB./etc/hostsC./etc/ipforwarD.confD./etc/forwarD.conf
单选题Linux系统的安全设置主要从磁盘上分区、账户安全设置、禁用危险服务、远程登录安全、用户鉴别安全、审计策略、保护root账户、使用网络防火墙的文件权限共10个方面来完成。小张在学习了Linux系统安全的相关知识后,尝试为自己计算机上的Linux系统进行安全配置。下列选项是他的部分操作。其中不合理的是()A编辑文件/etc/passwd,检查文件中用户ID 禁用所有ID=0的用户B编辑文件/etcf/ssh/sshd_config。将PermitRootLogin设置为noC编辑文件/etc/pam.d/system-auth,设置authrequire pam_tally,so onerr-fail deny-6 unlock_time=300
单选题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?()AUse refresh -s sshdBUse init.sshd /etc/rc.sshCUse /usr/sbin/sshd -restartDUse stopsrc -s sshd and then startsrc -s sshd