Solved

Killing RSH in Solaris 10

Posted on 2007-04-09
3
1,898 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
[X]
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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CPU monthly average? 12 139
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 109
Problem logging tar errors 11 70
Shell Script on AIX 7 149
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

726 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