Date: Fri, 15 Sep 2000 13:59:53 -0700 From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> To: Hajimu UMEMOTO <ume@mahoroba.org> Cc: will@physics.purdue.edu, arch@FreeBSD.ORG Subject: Re: Rsh/Rlogin/Rcmd & friends Message-ID: <200009152100.e8FL0ne26068@cwsys.cwsent.com> In-Reply-To: Your message of "Sat, 16 Sep 2000 05:52:25 %2B0900." <20000916055225C.ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000916055225C.ume@mahoroba.org>, Hajimu UMEMOTO writes: > >>>>> On Fri, 15 Sep 2000 14:35:15 -0500 > >>>>> Will Andrews <will@physics.purdue.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009152100.e8FL0ne26068>