1. echo "+" > /.rhosts
2. modify /etc/pam.conf, uncomment the following two lines:
rlogin auth sufficient pam_rhosts_auth.so.1
rsh auth sufficient pam_rhosts_auth.so.1
3. enable svc:/network/login:rlogin service
svcadm enable svc:/network/login:rlogin
4. For solaris 9, we should set
[root/]#>grep shell /etc/inetd.conf
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd
For solaris10,
svcadm enable svc:/network/shell:default
5. remove the /etc/hosts.deny file
6. comment "CONSOLE=/dev/console" from /etc/default/login.