Hi,
I've just set up a Solaris 10 server (call it Server1) & connect it
up to the network.
I've commented (prefix with #) out the line
" CONSOLE=/dev/console"
in /etc/default/login
From another old server running Solaris 9 (call it Server2) which sits on
a different subnet, I would like to be able to rlogin into Server1 as well
as "rcp -rp ..." files into Server 2.
I created .rhosts file on Server1's /, which contain one line :
the IP addr of Server2 & ensured this .rhosts file is world readable.
I login to Server2 using my id & then "su - root" - while I'm in root,
tried "rlogin Server1" & was prompted for password. I'm sure I
did not have to this as I ever got it working.
On Server1, rlogin is enabled :
Server1#> svcs -a | grep -i rlogin
online 13:11:25 svc:/network/login:rlogin
Also, whether I have the following 2 lines in /etc/pam.conf or
not does not make any difference - it still requires a password
& "rcp" from Server2 will still give permission denied
rlogin auth sufficient pam_rhosts_auth.so.1
rsh auth sufficient pam_rhosts_auth.so.1
pkgchk -f -n -p /etc/pam.conf !! this is probably to make the changes in pam.conf effective
Thanks
Start Free Trial