The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-13-2008
durgaprasadr13 durgaprasadr13 is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 26
rsh

How to enable rsh in solaris
  #2 (permalink)  
Old 10-13-2008
kumarmani kumarmani is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 338
You need entry in /etc/inetd.conf as below and restart the service for inted

Quote:
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
  #3 (permalink)  
Old 10-13-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
Which version of Solaris? Solaris 10 do not have the entry in the /etc/inetd.conf. You will need to add it to the /etc/services file then restart the daemon. svcadm restart inetd

Other versions of solaris, as mentioned, edit the file, then restart the network daemon
  #4 (permalink)  
Old 10-13-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,265
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.
  #5 (permalink)  
Old 10-13-2008
durgaprasadr13 durgaprasadr13 is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 26
Thank you very much
  #6 (permalink)  
Old 10-13-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
rsh is already present in /etc/services in all Solaris releases:
shell 514/tcp cmd # no passwords used

But I don't see it in my Solaris 10 system... :/ Anyway, thanks.
  #7 (permalink)  
Old 10-14-2008
frozentin frozentin is offline
Registered User
  
 

Join Date: May 2008
Location: Vienna, VA + Bombay, India
Posts: 109
Quote:
Originally Posted by incredible View Post
rsh is already present in /etc/services in all Solaris releases:
shell 514/tcp cmd # no passwords used

But I don't see it in my Solaris 10 system... :/ Anyway, thanks.
That may be due to a choice you made when installing the box.

Solaris 10 installer asks you whether you want to enable "all" n/w services or only ssh.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0