Solved

Killing RSH in Solaris 10

Posted on 2007-04-09
3
1,887 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.

776 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