Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Killing RSH in Solaris 10

Posted on 2007-04-09
3
1,892 Views
Last Modified: 2013-12-27
I need to disable this and cant find out how.  When I usee an inetadm,  rsh is not listed there.
How can I kill it?  RSH listens on tcp 514 right?

Thanks
0
Comment
Question by:dissolved
3 Comments
 
LVL 10

Expert Comment

by:PeturIngiEgilsson
ID: 18878507
Look in /etc/inetd.conf
remove the line "shell stream tcp nowait root /usr/sbin/in.rshd n.rshd"
restart the inetd daemon with "kill -HUP pid", where pid is the inetd daemons process id
0
 

Author Comment

by:dissolved
ID: 18879173
negative. This is Solaris 10. inetd.conf is pretty much empty.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 125 total points
ID: 18879399
svcadm disable svc:/network/shell:default
svcadm disable svc:/network/shell:kshell

kshell is the kerborised version of rshd.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question