[4850] in Athena Bugs
csh man page again, shutdown
daemon@ATHENA.MIT.EDU (Joe Harrington)
Mon Apr 30 19:36:12 1990
Date: Mon, 30 Apr 90 19:32:10 -0400
From: Joe Harrington <jh@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
In-Reply-To: Joe Harrington's message of Mon, 30 Apr 90 19:11:24 -0400 <9004302311.AA14052@M54-419-4.MIT.EDU>
Cc: jh@ATHENA.MIT.EDU
Reply-To: jh@ATHENA.MIT.EDU
oops. restate.
csh refuses to run if it is set-uid. i.e. set-uid csh scripts fail.
as a consequence, if the shutdown command is in a set-uid borne shell
script, the csh it forks off to do a zwrite -f fails. since shutdown
is an executable, why not just use exec for the zwrite (or use the
zephyr library to send the messages)?
--jh--