Operating System - Linux
1830956 Members
1814 Online
110017 Solutions
New Discussion

Re: verify and activate services

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

verify and activate services

In RHAS 2.1 I activated services using:

chkconfig rsh on

I have issued the same command in RHAS3.0 and it not works:

[root@mysvr etc]# chkconfig rsh on
error reading information on service rsh: No such file or directory

How can I verify that rsh (rcp, rlogin, etc.) services are installed?

5 REPLIES 5
NiCK_76
Respected Contributor
Solution

Re: verify and activate services

Hi Tonatiuh ,

Did rsh service in the system? Check rsh service in the directory /etc/init.d.

NiCK
just for fun
Stuart Browne
Honored Contributor

Re: verify and activate services

Make sure the 'rsh-server' is installed using 'rpm -q rsh-server'.

If it's not, then install that first.

Unless you are on a private, protected (and safe) network, then it'd be advisable to use 'ssh'.
One long-haired git at your service...
Jan Sladky
Trusted Contributor

Re: verify and activate services

Hi,

seems like no rsh there, first try

rpm -qa | grep rsh

or
take a look into /etc/xinet.d/*

rgds Jan
GSM, Intelligent Networks, UNIX
xyko_1
Esteemed Contributor

Re: verify and activate services

Hi,

if rsh-server is installed you have to enable the service on xinetd.

go to /etc/xinetd.d/ and comment the line

disable = yes

to enable the service.

But I would prefer work with ssh instead of rsh because it's more secure. Try to read and learn a little bit more about that.

regards,
xyko
HGN
Honored Contributor

Re: verify and activate services

Hi

Like other have mentioned already looks like the rsh rpm is missing you can do a quick check and install it if required
#rpm -qa | grep -i rsh

If it is showing as available then you can enable it.

Open ssh is available and can be made use of also.

Rgds

HGN