單項(xiàng)選擇題關(guān)閉selinux操作正確的是()

A.getenforce
B.getenforce0
C.setenforce0
D.setenforce1


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題已知?jiǎng)?chuàng)建/usr/local/nagios/etc/objects/services.cfg文件來(lái)定義服務(wù),在主配置文件nagios.cfg中引用的方法為()

A.object_cache_file=/usr/local/nagios/etc/objects/services.cfg
B.cfg_file=/usr/local/nagios/etc/objects/services.cfg
C.log_file=/usr/local/nagios/etc/objects/services.cfg
D.resource_file=/usr/local/nagios/etc/objects/services.cfg

2.單項(xiàng)選擇題nagios為了安全,nagios進(jìn)程的執(zhí)行者一般為()

A.cacti
B.apache
C.nagios
D.以上都不正確

3.單項(xiàng)選擇題usermod-a-Gnagiosapache表示()

A.把nagios加入到nagcmd組
B.把a(bǔ)pache加入到nagios組
C.把a(bǔ)pache加入到apache組
D.把nagios加入到apache組

4.單項(xiàng)選擇題nagios在編譯安裝時(shí),創(chuàng)建Nagiosweb配置文件的是()

A.makeinstall-init
B.makeinstall-webconf
C.makeinstall-commandmode
D.makeinstall-config

5.單項(xiàng)選擇題nagios定義命令的配置文件為(),其中定義的命令可以被其他配置文件引用

A.usr/local/nagios/etc/objects/commands.cfg
B.usr/local/nagios/etc/objects/contacts.cfg
C.usr/local/nagios/etc/objects/windows.cfg
D.usr/local/nagios/etc/objects/localhost.cfg