[8817] in Athena Bugs
rcp needs to be setuid root
daemon@ATHENA.MIT.EDU (raeburn@cygnus.com)
Thu Jan 9 23:26:08 1992
Date: Thu, 9 Jan 92 23:23:47 EST
From: raeburn@cygnus.com
To: bugs@Athena.MIT.EDU
The rcp program gets started running as the user attempting to copy
files. However, for "rcp -x" to work, it needs to be able to read the
srvtab file. The sources I'm staring at here at Cygnus, picked up
from Athena, do have a call to setuid(), so simply installing it
setuid to root ought to suffice.
On tsx-11:
-r-xr-xr-x 1 root 82944 Aug 13 15:22 /srvd/usr/athena/bin/rcp*
It took far too long for me to track this down. We'll probably be
sending back some patches sometime soon that fix several bugs (e.g.,
programs dumping core on suns, bad exit status values, et cetera) and
add some more debugging info to the library.