2nd Request rsh rlogin is still not worken, even after trying all the sugestions



Dear admins,


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@xxxxxxxxxx
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • RE: LAM
    ... Subject: LAM ... Add rsh and rlogin to the file. ... NNC's UK Operating Companies: NNC Holdings Limited, ...
    (RedHat)
  • New twist on perennial rlogin/rcp/rsh problems
    ... It's the old "I can't log in with rlogin" ... I have an NIS domain served by a linux machine which is configured ... rcp and rsh work fine. ...
    (comp.sys.hp.hpux)
  • Re: [SLE] How to start rlogin/rsh service?
    ... Barry Gill wrote: ... Neihter rlogin nor rsh were found in /etc/init.d ... but didn't succeed to install them. ...
    (SuSE)
  • RE: LAM
    ... Add rsh and rlogin to the file. ... Go to the /etc/xinetd.d directory and edit your rsh and rlogin files so that ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: set service/separator
    ... It's used for the R* services (RLOGIN, RSH) to set the separator characters ... in the initial command stream which contains username, device type, speed, ...
    (comp.os.vms)