(E-Mail Removed) writes:
>Hi,
>can any one give an example for configuring .rhosts file so that
>i can allow some trusted computers in my LAN to access my ubuntu 8.04
>machine via telnet,ssh without having to enter password
It is a bad idea to use telnet. Too many systems have had passwords stolen.
That the remote computers (or local computers) are trusted is irrelevant.
You also have to trust every inch of lan as well.
On ssh, use the authorized-key mechanism. Place the contents of
..ssh/id_rsa/pub into the other computer's .ssh/authorized_keys file to
allow you to log onto their system without a password. That replaces teh
notion of .rhosts or /etc/hosts.equiv
>BTW there is no /etc/hosts.equiv file in my machine, so will i have to
>create it ...????
Yes, you would have to create it if instead of listening to everyone you
decided to go that route.