Enable rexec,rsh and rlogin on RHAS 4.0

Rahul Kohli rahul_kohli at infosys.com
Fri Dec 30 20:27:32 UTC 2005


Hi Sachin,

 

Thanks for your response. But as mentioned in my initial email (mentioned below) I followed the same steps but on trying to rsh my RHAS 4.0 machine from my windows desktop I am prompted for password but after that nothing happens.

 

Please suggest how can I resolve this.

 

Thanks,

Rahul 

 

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Sachin Bhugra
Sent: Friday, December 30, 2005 3:24 PM
To: General Red Hat Linux discussion list
Subject: Re: Enable rexec,rsh and rlogin on RHAS 4.0

 

Hello,

 

 rexec, being a xinetd service will not start as usual "service name start".

All you need to do is type the following at the prompt:

 

chkconfig rexec on.

 

After this, type chkconfig --list | grep rexec and make sure that it is on.

 

Regds,

Sachin

 

PS: Also, you can edit /etc/xinetd.d/rexec and change the disable status.

-- 

redhat-list mailing list

unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe

https://www.redhat.com/mailman/listinfo/redhat-list

 


________________________________

From: Rahul Kohli
Sent: Fri 12/30/2005 9:56 PM
To: redhat-list at redhat.com
Subject: RE: Enable rexec,rsh and rlogin on RHAS 4.0


Thanks Tom,

 

Which directory is this command to be run from. I got the following message on executing the suggested command:

 

[root at machine-name~]# service rexec start
rexec: unrecognized service


On searching for 'rexec' I found the following 

/usr/bin/rexec
/etc/xinetd.d/rexec
/etc/pam.d/rexec


 

Thanks,

Rahul 

 

 

 

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Tom Callahan
Sent: Friday, December 30, 2005 11:19 AM
To: General Red Hat Linux discussion list
Subject: Re: Enable rexec,rsh and rlogin on RHAS 4.0

 

service rexec start

service rlogin start

 

Check firewall to make sure the requests are being allowed in. I am not

sure what ports rexec/rlogin use....

 

Thanks,

 

Tom Callahan

TESSCO Technologies

(443)-506-6216

callahant at tessco.com

 

A real engineer only resorts to documentation when the keyboard dents on the forehead get too noticeable.

 

 

 

Rahul Kohli wrote:

 

>Hi,

> 

>Please let me know how can I enable rexec, rsh and rlogin on Red Hat AS 4.0. I tried enabling the same using the under mentioned procedure but it is still not working.

> 

>[root at machine-name ~]# chkconfig --list | grep rexec

>        rexec:  off

> 

>[root at machine-name  ~]# chkconfig --level 345 rexec on

> 

>[root at machine-name ~]# chkconfig --list | grep rexec

>        rexec:  on

> 

>[root at machine-name ~]# chkconfig --list | grep rlogin

>        rlogin: off

> 

>[root at machine-name ~]# chkconfig --level 345 rlogin on

> 

>[root at machine-name ~]# chkconfig --list | grep rsh

>        rsh:    off

> 

>[root at machine-name ~]# chkconfig --level 345 rsh on

> But still on executing the under mentioned command from my Windows command prompt I am not getting any response

> 

>C:\>rexec <machine-I.P> -l root ls

>Password (machine I.P:):

> 

>Please suggest

> 

> 

>Thanks,

> 

>Rahul

> 

> 

>**************** CAUTION - Disclaimer *****************

>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.

>***INFOSYS******** End of Disclaimer ********INFOSYS***

> 

>  

> 

 

-- 

redhat-list mailing list

unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

https://www.redhat.com/mailman/listinfo/redhat-list

 





More information about the redhat-list mailing list