The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




Thread: rsh
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-13-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,468
Quote:
Originally Posted by incredible View Post
You will need to add it to the /etc/services file then restart the daemon. svcadm restart inetd
rsh is already present in /etc/services in all Solaris releases:

Code:
shell   514/tcp   cmd   # no passwords used

To enable it, run
Code:
svcadm enable shell:default

then set the rhosts file(s) appropriately.

By the way, rsh is a pretty insecure protocol, ssh should be used instead.