Re: Can't start rshd
On Tuesday 10 February 2004 01:17, Lowell Gilbert wrote: Daniela [EMAIL PROTECTED] writes: On Monday 09 February 2004 14:43, Lowell Gilbert wrote: Daniela [EMAIL PROTECTED] 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). But I tried starting it from inetd. When I did a `ps ax` after reboot, it wasn't there. You mean inetd wasn't there? You wouldn't expect rshd to be there; that's the whole point of inetd... Ah yes, I should have known it, I already have 14 server ports open :-) But it didn't work until I also enabled rlogind. It doesn't say that it needs rlogind, and if I hadn't looked with a packet sniffer I would have never known. The manpage doesn't say that rshd needs to be started from inetd either. That's rather poor documentation. Perhaps I should file a PR. Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't start rshd
Daniela [EMAIL PROTECTED] 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). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't start rshd
On Monday 09 February 2004 14:43, Lowell Gilbert wrote: Daniela [EMAIL PROTECTED] 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). But I tried starting it from inetd. When I did a `ps ax` after reboot, it wasn't there. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't start rshd
Daniela [EMAIL PROTECTED] writes: On Monday 09 February 2004 14:43, Lowell Gilbert wrote: Daniela [EMAIL PROTECTED] 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). But I tried starting it from inetd. When I did a `ps ax` after reboot, it wasn't there. You mean inetd wasn't there? You wouldn't expect rshd to be there; that's the whole point of inetd... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't start rshd
Hi! 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. Regards, Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]