Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!romp!auschs!d75!exeter.austin.ibm.com!woan From: woan@exeter.austin.ibm.com (Ronald S Woan) Newsgroups: comp.unix.aix Subject: SHUTDOWN on AIX 3.1 Message-ID: <3828@d75.UUCP> Date: 23 Apr 91 04:31:27 GMT References: <1991Apr17.130522.26957@uvm.edu> Sender: news@d75.UUCP Reply-To: woan@cactus.org Organization: Austin School of Hardknocks Lines: 16 In article <1991Apr17.130522.26957@uvm.edu> moore@emily.uvm.edu (Bryan Moore) writes: >I would like to give users on my system the ability to do a >'shutdown' from a $ prompt. I've tried setting up a script >which sets the users id to root and group id to system, and >then calls shutdown, but thi doesn't work. Can someone let >me know if this is possible, and if so how? Offhand, I seem to recall that setuid shell scripts are not allowed (won't function) under AIX 3.1 for security reasons, so you'll have to write a C (or whatever) wrapper around it. -- +-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+ +------------------------------My Employer----------------------------------+ + Ronald S. Woan woan@cactus.org or woan@austin.vnet.ibm.com + + other email addresses Prodigy: XTCR74A Compuserve: 73530,2537 +