2nd Request rsh rlogin is still not worken, even after trying all the sugestions
2007-12-25 6:19:00
I received some solutions for this problem, but none worked.
I received the suggestion to use ssh. We are using rsh to login, but
some tools need rsh / rlogin. I can't change that.
Even after trying all the suggestions rsh still dousn't work. See here
the examples:
>From serverA I'll try to go to serverB
serverA:walsemge $ rlogin $serverB
serverB: Connection refused
So, on serverB I'll enable some things:
# svcadm enable svc:/network/login:rlogin
>>>> # svcadm enable svc:/network/login:default Gives an error
# svcadm enable svc:/network/shell:default
# svcadm enable svc:/network/login:rlogin
# svcadm refresh inetd
Then I'll check if the service is enabled:
# svcs -a | grep rlogin
uninitialized May_20 svc:/network/login:rlogin
# svcs -a | grep shell:rlogin
uninitialized May_20 svc:/network/shell:default
Then I'll check the same with the inetadm tool
# inetadm | grep -i rlogin
enabled uninitialized svc:/network/login:rlogin
I'm trying to enable it
# inetadm -e rlogin
But still after checking it again, the service will remain
# inetadm | grep -i rlogin
enabled uninitialized svc:/network/login:rlogin
The value in the /etc/pam.conf is OK:
rlogin auth sufficient pam_rhosts_auth.so.1
rlogin auth requisite pam_authtok_get.so.1
rlogin auth required pam_dhkeys.so.1
rlogin auth required pam_unix_cred.so.1
rlogin auth required pam_unix_auth.so.1
In my ~/.rhosts file the serverA is present.
Please help me to solv this problem.
Wim Alsemgeest
w.l.alsemgeest at tpgpost.nl
Comments
Got something to say?
You must be logged in to post a comment.

