From owner-freebsd-arch Fri Sep 15 13:53: 1 2000 Delivered-To: freebsd-arch@freebsd.org Received: from piano.mahoroba.org (piano-wi.calm.imasy.or.jp [202.227.26.45]) by hub.freebsd.org (Postfix) with ESMTP id 6F8B837B449 for ; Fri, 15 Sep 2000 13:52:56 -0700 (PDT) Received: from localhost (IDENT:AqGspW3uJ6PcejEtvu/uh8wUY8x3dM6lmF41nEQLXWcX8ulEs/hiV7UyLGWh/MM3@localhost [::1]) by piano.mahoroba.org (8.11.0/8.11.0/piano) with ESMTP id e8FKqQg04847; Sat, 16 Sep 2000 05:52:26 +0900 (JST) (envelope-from ume@mahoroba.org) To: will@physics.purdue.edu Cc: arch@FreeBSD.org Subject: Re: Rsh/Rlogin/Rcmd & friends In-Reply-To: <20000915143515.N40658@radon.gryphonsoft.com> References: <20000915143515.N40658@radon.gryphonsoft.com> X-Mailer: xcite1.20> Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 4.1-STABLE Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000916055225C.ume@mahoroba.org> Date: Sat, 16 Sep 2000 05:52:25 +0900 From: Hajimu UMEMOTO X-Dispatcher: imput version 20000414(IM141) Lines: 35 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Fri, 15 Sep 2000 14:35:15 -0500 >>>>> Will Andrews said: will> Ok people. I want a reason why we shouldn't move rsh/rlogin/rcmd out of will> the base system and into ports, now that we can support SSH connections will> out of the box. Some programs call rsh. For example, GNU tar calls rsh. How about this patch. I'm using it for a long time. --- gnu/usr.bin/tar/rtapelib.c.orig Mon Nov 4 19:07:44 1996 +++ gnu/usr.bin/tar/rtapelib.c Tue Jul 27 15:22:32 1999 @@ -372,6 +372,8 @@ if (*login) { + execl ("/usr/bin/ssh", "ssh", "-l", login, system, + "/etc/rmt", (char *) 0); execl ("/usr/bin/rsh", "rsh", "-l", login, system, "/etc/rmt", (char *) 0); execlp ("rsh", "rsh", "-l", login, system, @@ -379,6 +381,8 @@ } else { + execl ("/usr/bin/ssh", "ssh", system, + "/etc/rmt", (char *) 0); execl ("/usr/bin/rsh", "rsh", system, "/etc/rmt", (char *) 0); execlp ("rsh", "rsh", system, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message