Newsgroups: comp.protocols.tcp-ip.domains Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!barmar From: barmar@think.com (Barry Margolin) Subject: Re: Sun's "rcp" does not use resolver Message-ID: <1991Apr8.055905.27630@Think.COM> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA References: <1991Apr7.114340.3310@bernina.ethz.ch> Date: Mon, 8 Apr 91 05:59:05 GMT In article <1991Apr7.114340.3310@bernina.ethz.ch> karrer@bernina.ethz.ch (Andreas Karrer) writes: >Is there any (security?) reason for rcp NOT being dynamically linked? >Ok, rcp is setuid root, but then, so are rsh and rlogin. I think it's statically linked so that it can be used for disaster recovery. If you somehow trash your shared library you can use rcp to copy a new one from another machine on the net. The "right" thing to do is to create a statically-linked version in /sbin, but put a dynamically-linked version in /usr/ucb. -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar