1832568 Members
4529 Online
110043 Solutions
New Discussion

Re: Please help on this

 
Muhammad Shamroze
Frequent Advisor

Please help on this

Please the Select the Appropiate Answer

Q.) Consider the fragment of host.quiv file for the host H shown below.select the option that correctly describe the resulting security on host H?

A -B

+ C


A. Deny Password-Free access to user A when A attempts to log in from host B,allow user C password-free access to all accounts (expect root)on host H from any host.

B.Deny Password-Free access to user B when A attempts to log in from host A,allow from host C password-free access to host H.

C.Deny Password-Free access to users B when user B attempts to log in from host A,allow user C password-free access to all C's account on host H from any host on the network.

D.Deny Password-Free access to users B when B attempts to log in from host A,grant user C password-free access to all accounts (expect root)on host H from any host on the network.

please tell me which is correct...?
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: Please help on this

/etc/hosts.equiv will be following format as,

hostname username # comment

A will be hostname and B is username. C may be username or hostname.

A -B

It will allow r* login from A except username B

+ C

If C is hostname,

Any r* login from hostname C is allowded.

Else if C is username then,

Any username C from any remote hostname can able to do r* login.

r* = rlogin, rexec, remsh, rsh

hth.
Easy to suggest when don't know about the problem!
Cem Tugrul
Esteemed Contributor

Re: Please help on this

Correct answer seems "C"
Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Alessandro Pilati
Esteemed Contributor

Re: Please help on this

Nothing is correct, if you refer to file host.quiv :-)

If file was hosts.equiv, so the correct answer should be C.

Regards,
Alex
if you don't try, you'll never know if you are able to
Piergiacomo Perini
Trusted Contributor

Re: Please help on this

Hi,

C is the right answer.

Bye
pg