Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rexecd problem
@ 1998-10-27 16:56 Reid van Melle
  1998-10-27 17:36 ` Wes Bauske
  1998-10-27 18:52 ` Bibek Sahu
  0 siblings, 2 replies; 6+ messages in thread
From: Reid van Melle @ 1998-10-27 16:56 UTC (permalink / raw)
  To: axp-list


	I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
fact, when I try to run it from the command line (just to see what
happens):

# /usr/sbin/in.rexecd
rexecd: getpeername: Socket operation on non-socket

	Has anybody experienced this problem?  Before I install a newer
package, I thought I should make sure there wasn't something I was
missing.  Is there something else that has to be done before rexec
requests are honored?

NOTES:
# grep rexec /etc/services
exec            512/tcp                         # BSD rexecd(8)


				Reid van Melle
				TRLabs Network Admin



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rexecd problem
  1998-10-27 16:56 rexecd problem Reid van Melle
@ 1998-10-27 17:36 ` Wes Bauske
  1998-10-27 19:08   ` Reid van Melle
  1998-10-27 18:52 ` Bibek Sahu
  1 sibling, 1 reply; 6+ messages in thread
From: Wes Bauske @ 1998-10-27 17:36 UTC (permalink / raw)
  To: axp-list

Reid van Melle wrote:
> 
>         I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
> fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
> fact, when I try to run it from the command line (just to see what
> happens):
> 
> # /usr/sbin/in.rexecd
> rexecd: getpeername: Socket operation on non-socket
> 
>         Has anybody experienced this problem?  Before I install a newer
> package, I thought I should make sure there wasn't something I was
> missing.  Is there something else that has to be done before rexec
> requests are honored?
> 
> NOTES:
> # grep rexec /etc/services
> exec            512/tcp                         # BSD rexecd(8)
> 

You can't run a process from the command line which 
is launched expecting it's stdin/stdout/stderr to be sockets.
Unless of course they check to see what they are attached
to before trying to do socket things to them.

Are you sure you called rexec() correctly?


Wes


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rexecd problem
  1998-10-27 16:56 rexecd problem Reid van Melle
  1998-10-27 17:36 ` Wes Bauske
@ 1998-10-27 18:52 ` Bibek Sahu
  1998-10-27 19:36   ` Reid van Melle
  1 sibling, 1 reply; 6+ messages in thread
From: Bibek Sahu @ 1998-10-27 18:52 UTC (permalink / raw)
  To: axp-list


	Have you enabled rexec in /etc/inetd.conf?  It's disabled by
default, and that appears to be what your problem is.

- Bob

On Tue, 27 Oct 1998, Reid van Melle wrote:

> 
> 	I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
> fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
> fact, when I try to run it from the command line (just to see what
> happens):
> 
> # /usr/sbin/in.rexecd
> rexecd: getpeername: Socket operation on non-socket
> 
> 	Has anybody experienced this problem?  Before I install a newer
> package, I thought I should make sure there wasn't something I was
> missing.  Is there something else that has to be done before rexec
> requests are honored?
> 
> NOTES:
> # grep rexec /etc/services
> exec            512/tcp                         # BSD rexecd(8)
> 
> 
> 				Reid van Melle
> 				TRLabs Network Admin


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rexecd problem
  1998-10-27 17:36 ` Wes Bauske
@ 1998-10-27 19:08   ` Reid van Melle
  0 siblings, 0 replies; 6+ messages in thread
From: Reid van Melle @ 1998-10-27 19:08 UTC (permalink / raw)
  To: axp-list

> >         I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
> > fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
> > fact, when I try to run it from the command line (just to see what
> > happens):

> You can't run a process from the command line which 
> is launched expecting it's stdin/stdout/stderr to be sockets.
> Unless of course they check to see what they are attached
> to before trying to do socket things to them.
> 
> Are you sure you called rexec() correctly?

	No, I never thought you could call a process like this from the
command line either.  However, I tried it for both in.rshd and in.rexecd
and in.rshd does not complain while in.rexecd does:  thought it might be a
clue for somebody.  As for calling rexec() correctly, my testing is being
done with commercial PC/Mac X software that we've been using successfully
for years.  If it would be helpful, I could pass on the error message that
the PC clients reports--- but the actual error seems to vary between
machines depending on what version/type of X software they have.

				Reid van Melle


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rexecd problem
  1998-10-27 18:52 ` Bibek Sahu
@ 1998-10-27 19:36   ` Reid van Melle
  1998-10-27 23:20     ` Reid van Melle
  0 siblings, 1 reply; 6+ messages in thread
From: Reid van Melle @ 1998-10-27 19:36 UTC (permalink / raw)
  To: axp-list

> 	Have you enabled rexec in /etc/inetd.conf?  It's disabled by
> default, and that appears to be what your problem is.

Yes, that is exactly what the problem is.  Seems funny that the default is
disabled--- or maybe not so funny considering the security implications.

Thanks.

				Reid
> 
> - Bob
> 
> On Tue, 27 Oct 1998, Reid van Melle wrote:
> 
> > 
> > 	I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
> > fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
> > fact, when I try to run it from the command line (just to see what
> > happens):
> > 
> > # /usr/sbin/in.rexecd
> > rexecd: getpeername: Socket operation on non-socket
> > 
> > 	Has anybody experienced this problem?  Before I install a newer
> > package, I thought I should make sure there wasn't something I was
> > missing.  Is there something else that has to be done before rexec
> > requests are honored?
> > 
> > NOTES:
> > # grep rexec /etc/services
> > exec            512/tcp                         # BSD rexecd(8)
> > 
> > 
> > 				Reid van Melle
> > 				TRLabs Network Admin
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rexecd problem
  1998-10-27 19:36   ` Reid van Melle
@ 1998-10-27 23:20     ` Reid van Melle
  0 siblings, 0 replies; 6+ messages in thread
From: Reid van Melle @ 1998-10-27 23:20 UTC (permalink / raw)
  To: axp-list

> > 	Have you enabled rexec in /etc/inetd.conf?  It's disabled by
> > default, and that appears to be what your problem is.
> 
> Yes, that is exactly what the problem is.  Seems funny that the default is
> disabled--- or maybe not so funny considering the security implications.

	Actually, I spoke too soon.  The rexec was disabled in the
/etc/inetd.conf.  I enabled it and restarted inetd.  This changed the
error message I got at client machines and also created new authentication
error messages in /var/log/messages. I had to change the entry in the
/etc/hosts.allow to get rid of these.  Then there were no error messages
at the clients or in /var/log/messages.  Though the rexec commands seem to
be authenticated and accepted, nothing happens.  The exact same clients
can connect to our DU boxes without any problem.  Are there some other
files which have to modified to allow rexec?  The man pages do not mention
any. 

				Reid van Melle

> > > 
> > > 	I have "rsh-0.10-2" under RedHat 5.0.  The in.rshd seems to work
> > > fine but /usr/sbin/in.rexecd does not respond to any client requests.  In
> > > fact, when I try to run it from the command line (just to see what
> > > happens):
> > > 
> > > # /usr/sbin/in.rexecd
> > > rexecd: getpeername: Socket operation on non-socket
> > > 
> > > 	Has anybody experienced this problem?  Before I install a newer
> > > package, I thought I should make sure there wasn't something I was
> > > missing.  Is there something else that has to be done before rexec
> > > requests are honored?
> > > 
> > > NOTES:
> > > # grep rexec /etc/services
> > > exec            512/tcp                         # BSD rexecd(8)
> > > 
> > > 
> > > 				Reid van Melle
> > > 				TRLabs Network Admin
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-10-27 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-27 16:56 rexecd problem Reid van Melle
1998-10-27 17:36 ` Wes Bauske
1998-10-27 19:08   ` Reid van Melle
1998-10-27 18:52 ` Bibek Sahu
1998-10-27 19:36   ` Reid van Melle
1998-10-27 23:20     ` Reid van Melle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox