Which configuration file on station2 would you modify to achieve this?

You have station2 bound to the Network Information Service (NIS) domain ORACLE.The details of
NIS users are given below:
[root@station2 ~] getent passwd | grep dsuser
dsuser1:$1$/QoTzvFO$HkTuycI:502:504::/export/home/dsuser1:/bin/bash
dsuser4:$1$GihPZiuQ$F7rsdf.:505:507::/export/home/dsuser4:/bin/bash
dsuser7:$1$qJhW.2dW$5jbupTb:508:510::/export/home/dsuser7:/bin/bash
dsuser2:$1$dzBGDBsP$B/e5bua:503:505::/export/home/dsuser2:/bin/bash
dsuser3:$1$dzBGDBsP$B/e6Ng0:504:506::/export/home/dsuser2:/bin/bash
dsuser5:$1$fMdDDu/b$oX3L9P1:506:508::/export/home/dsuser5:/bin/bash
dsuser6:$1$IoPZ/Xpb$/iHrAt1:507:509::/export/home/dsuser6:/bin/bash
You want to prevent only the nisusers dsuser1 and dsuser2 from logging in to station2. Which
configuration file on station2 would you modify to achieve this?

You have station2 bound to the Network Information Service (NIS) domain ORACLE.The details of
NIS users are given below:
[root@station2 ~] getent passwd | grep dsuser
dsuser1:$1$/QoTzvFO$HkTuycI:502:504::/export/home/dsuser1:/bin/bash
dsuser4:$1$GihPZiuQ$F7rsdf.:505:507::/export/home/dsuser4:/bin/bash
dsuser7:$1$qJhW.2dW$5jbupTb:508:510::/export/home/dsuser7:/bin/bash
dsuser2:$1$dzBGDBsP$B/e5bua:503:505::/export/home/dsuser2:/bin/bash
dsuser3:$1$dzBGDBsP$B/e6Ng0:504:506::/export/home/dsuser2:/bin/bash
dsuser5:$1$fMdDDu/b$oX3L9P1:506:508::/export/home/dsuser5:/bin/bash
dsuser6:$1$IoPZ/Xpb$/iHrAt1:507:509::/export/home/dsuser6:/bin/bash
You want to prevent only the nisusers dsuser1 and dsuser2 from logging in to station2. Which
configuration file on station2 would you modify to achieve this?

A.
/etc/auto.misc

B.
/etc/pam.d/login

C.
/etc/nsswitch.conf

D.
/etc/pam.d/authconfig

E.
/etc/pam.d/system-auth



Leave a Reply 0

Your email address will not be published. Required fields are marked *