From owner-freebsd-arch Fri Sep 15 14: 2:23 2000 Delivered-To: freebsd-arch@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 4E07237B424 for ; Fri, 15 Sep 2000 14:02:20 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id OAA07740; Fri, 15 Sep 2000 14:01:36 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda07738; Fri Sep 15 14:01:26 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id OAA60430; Fri, 15 Sep 2000 14:01:26 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdJ60428; Fri Sep 15 14:00:50 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.0/8.9.1) id e8FL0ne26068; Fri, 15 Sep 2000 14:00:49 -0700 (PDT) Message-Id: <200009152100.e8FL0ne26068@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdP26051; Fri Sep 15 13:59:56 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.1-RELEASE X-Sender: cy To: Hajimu UMEMOTO Cc: will@physics.purdue.edu, arch@FreeBSD.ORG Subject: Re: Rsh/Rlogin/Rcmd & friends In-reply-to: Your message of "Sat, 16 Sep 2000 05:52:25 +0900." <20000916055225C.ume@mahoroba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 15 Sep 2000 13:59:53 -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000916055225C.ume@mahoroba.org>, Hajimu UMEMOTO writes: > >>>>> 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 o > f > 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, I would rather we remove rsh entirely. If you want to use rsh install the GNU tar port. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message