Date: 09 Feb 2004 09:43:50 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Daniela <dgw@liwest.at> Cc: questions@freebsd.org Subject: Re: Can't start rshd Message-ID: <44fzdk1ffd.fsf@be-well.ilk.org> In-Reply-To: <200402081631.18754.dgw@liwest.at> References: <200402081631.18754.dgw@liwest.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniela <dgw@liwest.at> writes: > I'm having problems starting rshd. I tried it on two different computers (yes, > I know about the security risks, but the port is firewalled off). > I can't use alternatives because some software I'm using depends on it. > > The error is: It terminates with status 1 and sets errno to 38 (ENOTSOCK) > = Socket operation on non-socket. It fails on the following function call: > getpeername(0, (struct sockaddr *)&from, &fromlen) > > I'm no expert, but it looks like this can't work. Is this a bug, or is my > installation faulty? BTW, I'm starting rshd with no arguments. You're not starting it with a socket, like it expects. Normally, rshd(8) is started from inetd.conf(5).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fzdk1ffd.fsf>