RE: rsh not working

2002-07-14 Thread Balaji, Pavan


I tried that, but it didn't work. However, I did figure out the way to do it
(thanx to simon!) -- we need to uncomment even the login and exec commands.
Probably there are better ways of doing it. Still experimenting.

Thanx anyways,

Pavan Balaji,
CIS Graduate Student,
Ohio State University

"Being happy doesn't mean that everything is perfect... It just means that
you have decided to see beyond the imperfections"  --  Rash


> -Original Message-
> From: Jonathan Chen [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 14, 2002 2:39 PM
> To: Balaji, Pavan
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: rsh not working
> 
> 
> On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote:
> > 
> > /etc/inetd.conf just gives an option for telnet, but not 
> for 'rsh'. I'm not
> > able to get 'rsh' working yet. Any other suggestions?
> 
> It's these lines in /etc/inetd.conf:
> 
>   #shell  stream  tcpnowait  root/usr/libexec/rshd   rshd
>   #shell  stream  tcp6   nowait  root/usr/libexec/rshd   rshd
> 
> Uncomment them, signal inetd, and thazzit.
> --
> Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
>  Twice is coincidence.
>  Three times and Somebody Is Trying To Tell You Something.
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



[dan@slightlystrange.org: Re: rsh not working]

2002-07-14 Thread Daniel Bye

On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote:
> 
> /etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not
> able to get 'rsh' working yet. Any other suggestions?

For the bog-standard Berkeley rsh, you want to allow "shell":

 shell  stream  tcp nowait  root/usr/libexec/rshd   rshd

If you are using the Kerberised rsh, use this instead:

 kshell stream  tcp nowait  root/usr/libexec/rshd   rshd -k

Bear in mind that ssh offers far greater security than either telnet or
rsh, and has a mode of operation that mimics the traditional "r" commands
pretty well.  There are good, freely-available ssh clients out there for
most OSes, so interoperability shouldn't be a problem.

Anyway, lecture over  ;-)

HTH,

Dan 

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: rsh not working

2002-07-14 Thread Jonathan Chen

On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote:
> 
> /etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not
> able to get 'rsh' working yet. Any other suggestions?

It's these lines in /etc/inetd.conf:

#shell  stream  tcpnowait  root/usr/libexec/rshd   rshd
#shell  stream  tcp6   nowait  root/usr/libexec/rshd   rshd

Uncomment them, signal inetd, and thazzit.
--
Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: rsh not working

2002-07-14 Thread Balaji, Pavan


/etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not
able to get 'rsh' working yet. Any other suggestions?


Pavan Balaji,
CIS Graduate Student,
Ohio State University

"Being happy doesn't mean that everything is perfect... It just means that
you have decided to see beyond the imperfections"  --  Rash


> -Original Message-
> From: Simon Dick [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 14, 2002 1:56 PM
> To: Balaji, Pavan
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: rsh not working
> 
> 
> On Sun, Jul 14, 2002 at 11:53:40AM -0700, Balaji, Pavan wrote:
> > 
> > I'm not able to get rsh or telnet to work on my FreeBSD box 
> (however ssh
> > works fine). Is there some file I need to edit to get this to work?
> 
> /etc/inetd.conf
> 
> -- 
> Simon Dick[EMAIL PROTECTED]
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: rsh not working

2002-07-14 Thread Simon Dick

On Sun, Jul 14, 2002 at 11:53:40AM -0700, Balaji, Pavan wrote:
> 
> I'm not able to get rsh or telnet to work on my FreeBSD box (however ssh
> works fine). Is there some file I need to edit to get this to work?

/etc/inetd.conf

-- 
Simon Dick  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



rsh not working

2002-07-14 Thread Balaji, Pavan


I'm not able to get rsh or telnet to work on my FreeBSD box (however ssh
works fine). Is there some file I need to edit to get this to work?


Pavan Balaji,
CIS Graduate Student,
Ohio State University

"Being happy doesn't mean that everything is perfect... It just means that
you have decided to see beyond the imperfections"  --  Rash


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message