单选题Which of the following commands can be used to gain root privileges and profile without initially logging in as root?()Asu Bsu root Csu - root Dsu -c root

题目
单选题
Which of the following commands can be used to gain root privileges and profile without initially logging in as root?()
A

 su 

B

 su root 

C

 su - root 

D

 su -c root


相似考题
参考答案和解析
正确答案: C
解析: 暂无解析
更多“单选题Which of the following commands can be used to gain root privileges and profile without initially logging in as root?()A  su B  su root C  su - root D  su -c root”相关问题
  • 第1题:

    Mysqldump was used to create a single schema backup; Shell> mysqldump –u root –p sakila > sakila2013.sql Which two commands will restore the sakila database without interfering with other running database?()

    • A、Mysql> USE sakila; LOAD DATA INFILE 'sakila2013.sql';
    • B、Shell> mysql –u root –p sakila sakila2013.sql
    • C、Shell> mysql import –u root –p sakila sakila2013.sql
    • D、Shell> mysql  –u root -p  –e 'use sakila; source sakila2013.sql'
    • E、Shell> mysql  –u root  –p  –silent < sakila2013.sql

    正确答案:B,D

  • 第2题:

    Which two of these are used in the selection of a root bridge in a network utilizing Spanning Tree ProtocolIEEE 802.1 D?()

    • A、Designated Root Cost
    • B、bridge ID priority
    • C、max age
    • D、bridge ID MAC address
    • E、Designated Root Priority
    • F、forward delay

    正确答案:B,D

  • 第3题:

    Which of the following commands can be used to gain root privileges and profile without initially logging in as root?()

    • A、 su 
    • B、 su root 
    • C、 su - root 
    • D、 su -c "root"

    正确答案:C

  • 第4题:

    non-root user can run rsh commands from serverA to serverB, but attempts to run rsh commands by the root user return with a permission error message. What action will resolve the problem? ()

    • A、Add root user to the /etc/hosts.equiv on serverb
    • B、Create $HOME/.rhosts file for the root user on serverb
    • C、Restart the rshd daemon with root enabled option on serverb
    • D、Add entry to allow root user from serverA to the /etc/hosts.allow on serverb

    正确答案:D

  • 第5题:

    Company.com has encountered a problem on the HMC, which requires access to the root shell on the HMC. Which of the following is necessary to access the root userid on the HMC?()

    • A、Enable remote commands on the HMC Configuration menu,then use ssh to login to theHMC,enter su - root
    • B、Login to the HMC as hscpe and run pesh,using a temporary password from IBM Support,afterward, enter su - root
    • C、Login to the HMC as hscroot,then run pesh,using a temporary password from IBM Support, afterward,enter su - root
    • D、Enable remote commands on the HMC Configuration menu,then telnet in as hscroot,entersu - root

    正确答案:B

  • 第6题:

    You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()

    • A、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);
    • B、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);
    • C、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“bookstore//book”);
    • D、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“books/book”);

    正确答案:D

  • 第7题:

    单选题
    Linux系统里,如果不想任何人都可以用“su”命令成为root,必须修改()文件。
    A

    /etc/pam.d/root

    B

    /etc/pam.d/su

    C

    /etc/security/root

    D

    /etc/security/su


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

  • 第8题:

    多选题
    Mysqldump was used to create a single schema backup; Shell> mysqldump –u root –p sakila > sakila2013.sql Which two commands will restore the sakila database without interfering with other running database?()
    A

    Mysql> USE sakila; LOAD DATA INFILE 'sakila2013.sql';

    B

    Shell> mysql –u root –p sakila sakila2013.sql

    C

    Shell> mysql import –u root –p sakila sakila2013.sql

    D

    Shell> mysql  –u root -p  –e 'use sakila; source sakila2013.sql'

    E

    Shell> mysql  –u root  –p  –silent < sakila2013.sql


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

  • 第9题:

    单选题
    root是UNIX系统中最为特殊的一个账户,它具有最大的系统权限:下面说法错误的是()
    A

    应严格限制使用root特权的人数。

    B

    不要作为root或以自己的登录户头运行其他用户的程序,首先用su命令进入用户的户头。

    C

    决不要把当前工作目录排在PATH路径表的前边,那样容易招引特洛伊木马。当系统管理员用su命令进入root时,他的PATH将会改变,就让PATH保持这样,以避免特洛伊木马的侵入。

    D

    不同的机器采用相同的root口令。


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

  • 第10题:

    单选题
    You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()
    A

    XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);

    B

    XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);

    C

    XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“bookstore//book”);

    D

    XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“books/book”);


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

  • 第11题:

    单选题
    Which of the following settings will reduce packet overhead and overall latency in a standalone point-to-point bridge deployment?()
    A

    enable concatenation on the non-root bridge only

    B

    enable concatenation on the root bridge only

    C

    enable concatenation on both the root bridge and non-root bridge

    D

    enable concatenation on the root bridge and set it as desirable on the non-root bridge

    E

    set concatenation as desirable on the root bridge and enable it on the non-root bridge


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

  • 第12题:

    多选题
    In your multitenant container database (CDB) containing same pluggable databases (PDBs), you execute the following commands in the root container: Which two statements are true?()
    A

    The C # # ROLE1 role is created in the root database and all the PDBs.

    B

    The C # # ROLE1 role is created only in the root database because the container clause is not used.

    C

    Privileges are granted to the C##A_ADMIN user only in the root database.

    D

    Privileges are granted to the C##A_ADMIN user in the root database and all PDBs.

    E

    The statement for granting a role to a user fails because the CONTAINER clause is not used.


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

  • 第13题:

    Which two of these are used in the selection of a root bridge in a network utilizing Spanning Tree  Protocol IEEE 802.1D? ()

    • A、Designated Root Cost
    • B、bridge ID priority
    • C、max age
    • D、bridge ID MAC address
    • E、Designated Root Priority
    • F、forward delay

    正确答案:B,D

  • 第14题:

    Which of the following settings will reduce packet overhead and overall latency in a standalonepoint-to-point bridge deployment?()

    • A、enable concatenation on the non-root bridge only
    • B、enable concatenation on the root bridge only
    • C、enable concatenation on both the root bridge and non-root bridge
    • D、enable concatenation on the root bridge and set it as desirable on the non-root bridge
    • E、set concatenation as desirable on the root bridge and enable it on the non-root bridge

    正确答案:C

  • 第15题:

    5520AMS服务器登录为根(root)用户,输入下面命令切换到amssys

    • A、su amssys
    • B、su - amssys
    • C、add amssys
    • D、ls amssys

    正确答案:B

  • 第16题:

    A non-root user can run rsh commands from serverA to serverB, but attempts to run rsh  commands by the root user return with a permission error message. What action will resolve the problem?()

    • A、Add root user to the /etc/hosts.equiv on serverB .
    • B、Create $HOME/.rhosts file for the root user on serverB .
    • C、Restart the rshd daemon with root enabled option on serverB .
    • D、Add entry to allow root user from serverA to the /etc/hosts.allow on serverB .

    正确答案:D

  • 第17题:

    如果/etc/securetty文件中包括如下行:tty1tty2tty3tty4tty5tty6tty7tty8,你能做()。

    • A、以root身份通过网络或控制台登录到系统。
    • B、以普通用户身份登录系统,再用su切换到root身份。
    • C、以root身份通过控制台登录到系统,但无法以root身份从网络telnet。
    • D、以root身份通过网络登录到系统,但无法以root身份从控制台登录。

    正确答案:B,C

  • 第18题:

    UNIX/Linux系统中,下列命令可以将普通帐号变为root帐号的是()。

    • A、chmod命令
    • B、/bin/passwd命令
    • C、chgrp命令
    • D、/bin/su命令

    正确答案:D

  • 第19题:

    单选题
    Company.com has encountered a problem on the HMC, which requires access to the root shell on the HMC. Which of the following is necessary to access the root userid on the HMC?()
    A

    Enable remote commands on the HMC Configuration menu,then use ssh to login to theHMC,enter su - root

    B

    Login to the HMC as hscpe and run pesh,using a temporary password from IBM Support,afterward, enter su - root

    C

    Login to the HMC as hscroot,then run pesh,using a temporary password from IBM Support, afterward,enter su - root

    D

    Enable remote commands on the HMC Configuration menu,then telnet in as hscroot,entersu - root


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

  • 第20题:

    单选题
    Which of the following settings will reduce packet overhead and overall latency in a standalonepoint-to-point bridge deployment?()
    A

    enable concatenation on the non-root bridge only

    B

    enable concatenation on the root bridge only

    C

    enable concatenation on both the root bridge and non-root bridge

    D

    enable concatenation on the root bridge and set it as desirable on the non-root bridge

    E

    set concatenation as desirable on the root bridge and enable it on the non-root bridge


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

  • 第21题:

    单选题
    A non-root user can run rsh commands from serverA to serverB, but attempts to run rsh  commands by the root user return with a permission error message. What action will resolve the problem?()
    A

    Add root user to the /etc/hosts.equiv on serverB .

    B

    Create $HOME/.rhosts file for the root user on serverB .

    C

    Restart the rshd daemon with root enabled option on serverB .

    D

    Add entry to allow root user from serverA to the /etc/hosts.allow on serverB .


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

  • 第22题:

    单选题
    UNIX/Linux系统中,下列命令可以将普通帐号变为root帐号的是()。
    A

    chmod命令

    B

    /bin/passwd命令

    C

    chgrp命令

    D

    /bin/su命令


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

  • 第23题:

    多选题
    Which two of these are used in the selection of a root bridge in a network utilizing Spanning Tree ProtocolIEEE 802.1 D?()
    A

    Designated Root Cost

    B

    bridge ID priority

    C

    max age

    D

    bridge ID MAC address

    E

    Designated Root Priority

    F

    forward delay


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