Inside out companies secure network I currently have completely open access to our 4 RS6000s around the world with the /etc/hosts.equiv and any $HOME/.rhosts files all having "+ +" as the only entry.
I need to tighten this up urgently but am having trouble getting the security to work reliably.
I am trying to get the new security working between 2 RS6000s both running AIX 5.2. These systems are named in this example rs01 and rs02.
- Both have entries in the /etc/hosts file on both systems.
- rs01 is still set up with "+ +" in all the files.
- rs02 is set up with "rs01" in /etc/hosts.equiv
- as root user on rs01 "rlogin rs02" requires a password
- as adm1 user on rs01 "rlogin rs02" connects without a password on the first attempt. If I logout and do command "rlogin rs02" again it requires a password. If I try again it connects, the next time it requires a password and so on.
- I create a .rhosts file on rs02 in the root user home directory "/" with the value "rs01".
- now the root user on rs01 behaves exactly as described above for user adm1, alternating between connecting and not connecting.
What is going on? I can't get my head around this at all. I have tried all sorts of combinations sometimes using .rhosts files and sometimes not and sometimes a user will connect and sometimes not.
Can anyone offer any assistance as it is driving me mad.
Thanks
I need to tighten this up urgently but am having trouble getting the security to work reliably.
I am trying to get the new security working between 2 RS6000s both running AIX 5.2. These systems are named in this example rs01 and rs02.
- Both have entries in the /etc/hosts file on both systems.
- rs01 is still set up with "+ +" in all the files.
- rs02 is set up with "rs01" in /etc/hosts.equiv
- as root user on rs01 "rlogin rs02" requires a password
- as adm1 user on rs01 "rlogin rs02" connects without a password on the first attempt. If I logout and do command "rlogin rs02" again it requires a password. If I try again it connects, the next time it requires a password and so on.
- I create a .rhosts file on rs02 in the root user home directory "/" with the value "rs01".
- now the root user on rs01 behaves exactly as described above for user adm1, alternating between connecting and not connecting.
What is going on? I can't get my head around this at all. I have tried all sorts of combinations sometimes using .rhosts files and sometimes not and sometimes a user will connect and sometimes not.
Can anyone offer any assistance as it is driving me mad.
Thanks