I would think this would be relatively simple, but it's driving me crazy.
Okay, I have two hosts, hosta and hostb. I have two user accounts on each host, in addition to root: user1 & user2. So, in the home directory for user1 on hostb, there is a .rhosts file which is comprised of "hosta" only. Now, the way I thought .rhosts was supposed to work, shouldn't user2 be able to sit at hosta, run rlogin -l user1 hostb , and not be prompted for a password? I get prompted for a password when I try this. Of course, if I have "hosta user2" in .rhosts, then the above command works, and there is no password prompt.
Am I misunderstanding the functionality of the .rhosts file? From what I've read, if a user has a .rhosts file in his home directory with only the name of a remote host, then any user on that remote host can rlogin to this users home directory w/o being prompted for a password.
Please help!
Thanks! Mike
Okay, I have two hosts, hosta and hostb. I have two user accounts on each host, in addition to root: user1 & user2. So, in the home directory for user1 on hostb, there is a .rhosts file which is comprised of "hosta" only. Now, the way I thought .rhosts was supposed to work, shouldn't user2 be able to sit at hosta, run rlogin -l user1 hostb , and not be prompted for a password? I get prompted for a password when I try this. Of course, if I have "hosta user2" in .rhosts, then the above command works, and there is no password prompt.
Am I misunderstanding the functionality of the .rhosts file? From what I've read, if a user has a .rhosts file in his home directory with only the name of a remote host, then any user on that remote host can rlogin to this users home directory w/o being prompted for a password.
Please help!
Thanks! Mike