Enabling rsh for AIX
To enable rsh, create a /.rhosts file on each target system, add a line to the file specifying
the full domain name of the source system. Make sure .rhosts file has 600 permission.
root@lpar1(/)#cat
.rhosts
lpar2 root
root@lpar8(/)#
root@lpar2(/)#cat
.rhosts
lpar1 root
root@lpar8(/)#
Make sure /etc/hosts file have entries for both servers. Also shell is
uncommented under /etc/inetd.conf file. If not do the following
#
chsubserver -a -v shell -p tcp6 -r inetd
#
refresh –s inetd
Test and you should be good.
root@lpar1(/)#rsh
lpar2 date