Solved

Killing RSH in Solaris 10

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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 …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now