mrd@sun.soe.clarkson.edu (Michael DeCorte) (09/19/89)
hello,
I need to be able to powerdown a SV box (vme147). There are 3
requirements:
1) secure
2) gracefull
3) user will not be in / when doing this
its the last part the bothers me. I think the following will work but
I wanted to know if anyone saw anything wrong.
user is running program abc and decides to quit and powerdown the system.
abc was not started from /.
abc exec' xyz
xyz is an suid root executable (not shell script) that :
cd /
while (prompted pw != root pw);
exec /etc/init 0
I know that there isn't much here but I have bad dreams giving fsck
something to do :-)
--
Michael DeCorte // H215-546-0497 W386-8164 Fax386-8252 // mrd@clutx.bitnet
2300 Naudain St. "H", Phil, PA 19146 // mrd@sun.soe.clarkson.edu
---------------------------------------------------------------------------
Clarkson Archive Server // commands = help, index, send, path
archive-server@sun.soe.clarkson.edu
archive-server%sun.soe.clarkson.edu@omnigate.bitnet
dumb1!dumb2!dumb3!smart!sun.soe.clarkson.edu!archive-server
---------------------------------------------------------------------------