A non-root user can run rsh commands from serverA to serverB, but attempts to run rsh commands by the root user return with apermission error message.What action will resolve the problem?()A.Add root user to the /etc/hosts.equiv on serverBB.Create $HOME/.

题目
A non-root user can run rsh commands from serverA to serverB, but attempts to run rsh commands by the root user return with apermission 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
更多“A non-root user can run rsh commands from serverA to serverB, but attempts to run rsh commands by the root user return with apermission error message.What action will resolve the problem?() ”相关问题
  • 第1题:

    5、已知字典 dic={'小欣':90, '小蕊':92, '小微':87},存放了学生的姓名及成绩。假设变量user存放了某学生的姓名,则以下哪个程序不能够实现功能:在字典中查询该学生信息是否存在,如果存在,输出其成绩,否则输出'该学生不存在!'

    A.if dic.get(user,'error')=='error': print('该学生不存在!') else: print(dic[user])

    B.if user in dic: print(dic[user]) else: print('该学生不存在!')

    C.if user not in dic: print('该学生不存在!') else: print(dic[user])

    D.if dic.count(user)==0: print('该学生不存在!') else: print(dic[user])


    if dic.count(user)==0: print('该学生不存在!') else: print(dic[user])

  • 第2题:

    登录linux的时候,如果使用文本模式,输入正确地用户名和口令后用户就可以进入提示符状态,如果登录时使用root用户,则屏幕会显示:()。

    A.[root@localhost root]#

    B.[root@localhost root]$

    C.[user@localhost root]#

    D.[user@localhost root]$


    [root@localhost root]#

  • 第3题:

    【单选题】下列哪个命令可以下载HDFS目录/user/root/live.txt

    A.hdfs dfs -get /user/root/live.txt

    B.hdfs dfs -download /user/root/live.txt

    C.hdfs dfs -put /user/root/live.txt

    D.hdfs dfs -move /user/root/live.txt


    hdfs dfs -get /hdfstest/test.txt

  • 第4题:

    J2EE中在JSP中要使用user包中的User类,则以写法正确的是()。

    A.<jsp:useBeam id="user" class="user" import="user.*"/>

    B.<jsp:useBean id="user" class="user.User" scope="page"/>

    C.<jsp:useBean class="user.Use.class"/>

    D.<jsp:useBean name="user" class="user.User"/>


    B

  • 第5题:

    4、在JSP中要使用user包中的User类,则以下写法正确的是()。

    A.<jsp:useBeam id=”user” class=”user” import=”user.*”/>

    B.<jsp:useBean id=”user” class=”user.User” scope=”page”/>

    C.<jsp:useBean class=”user.Use.class”/>

    D.<jsp:useBean name=”user” class=”user.User”/>


    “user”class=“user.User” scope=“page”/>

  • 第6题:

    3、增加用户user3,user4,增加组testgroup,给组testgroup设定密码,将组testgroup管理权授予user1,并同时将root,user1,user3加入到testgroup,检查结果,切换到user1,将user4加入到testgroup组


    useradd user3;useradd user4groupadd testgroup;gpasswd testgroupgpasswd -A user1 -M root,user1,user3 testgroupgrep testgroup /etc/group /etc/gshadowsu - user1gpasswd -a user4 testgroup