From owner-freebsd-stable Sun Sep 27 14:57:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24632 for freebsd-stable-outgoing; Sun, 27 Sep 1998 14:57:13 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from sussie.datadesign.se (ns.datadesign.se [194.23.109.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24603 for ; Sun, 27 Sep 1998 14:56:50 -0700 (PDT) (envelope-from kaj@interbizz.se) Received: from localhost (sussie.datadesign.se [194.23.109.130]) by sussie.datadesign.se (8.8.5/8.8.7) with ESMTP id XAA17670; Sun, 27 Sep 1998 23:56:19 +0200 (MET DST) To: key@KSquared.Net Cc: freebsd-stable@FreeBSD.ORG, key@Network-Alchemy.COM Cc: kaj@interbizz.se Subject: Re: Broken Pipe on rsh to account using /bin/csh in v2.2.7 From: Rasmus Kaj In-Reply-To: Your message of "Fri, 25 Sep 1998 16:02:25 -0700" <199809252302.QAA05805@sodium.network-alchemy.com> References: <199809252302.QAA05805@sodium.network-alchemy.com> X-Mailer: Mew version 1.92.4 on XEmacs 20.4 (Emerald) X-URL: http://www.e.kth.se/~kaj/ X-Phone: +46 (0)8 - 692 35 09 / +46 (0)70 640 49 14 X-Attribution: Kaj X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q;OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<;I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980927235619P.kaj@interbizz.se> Date: Sun, 27 Sep 1998 23:56:19 +0200 X-Dispatcher: imput version 971024 Lines: 22 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "k" == key writes: k> [ ... ] I've got some machines with v2.2.7. When I rsh to k> accounts on them that use /bin/csh I get no output and rsh exits with k> "Broken pipe". I added some debugging to rshd on a v2.2.7 box and k> I can see that we appear to successfully call execl() with k> the shell and all the arguments look good. If the login shell is k> anything other than csh (tested /usr/local/bin/tcsh, /bin/sh, k> /usr/local/bin/bash), rsh works. And rlogin, etc works fine. This is a shot in the dark, but do you have the file /etc/shells? I don't know how and when the check for /etc/shells is done, but I didn't find any mention of shells in man execl, so either this is not the problem or that manpage should probably be updated ... // Rasmus -- kaj@cityonline.se --------------- Rasmus Kaj - http://www.e.kth.se/~kaj/ \ CityOnLine IB Production AB - http://www.CityOnLine.se/ \-- I do not fear computers. I fear the lack of them. -- Isaac Asimov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message