20070902

enable start rsh / rlogin service on solaris 10

Add these to /etc/inetd.conf

# RSHD - rsh daemon (BSD protocols)
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd


The inetd was not enabled, so a extra svcadm enable did the trick

% svcadm enable svc:/network/inetd:default
% svcadm enable svc:/network/login:rlogin
% svcadm enable svc:/network/shell:default
% svcadm enable svc:/network/login:rlogin
% svcadm refresh inetd


Credit to Wim Alsemgeest

3 comments:

  1. Hmm, susah betul nak nak enable rsh/rlogin dalam Solaris ni.

    ReplyDelete
  2. senang jer nak up kan rsh nih ...kena pandai pakai svcadm dan svcs command

    ReplyDelete
  3. Thx was a usefull link!!!! even if it's a shame to have to use rcp :)

    ReplyDelete