Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!randvax!ucla-an!denwa!stb!andyb From: andyb@stb.info.com (Andy B.) Newsgroups: comp.unix.sysv386 Subject: Re: Somebody . . . Eureka! Message-ID: <1991May18.051251.1438@stb.info.com> Date: 18 May 91 05:12:51 GMT References: <9105150354.AA03687@enuxha.eas.asu.edu> Organization: The Serial Tree BBS, +1 213 397 3137 Lines: 19 crawford@ENUXHA.EAS.ASU.EDU (Brian Crawford) writes: > 2) We do not always have someone present w/ super-user privs, and need to run > 'shutdown' from a few other accounts. Could someone please recommend a way > to shutdown the system down without superuser privilages? The 'shutdown' > with this sytem (SCO XENIX 2.3.2) will only work from a super-user privs- > even when the file ownership is changed at the command line. > > Comments appreciated. I've never done it but, how about putting a wrapper around the shutdown command? Then whomever you want to run shutdown, can own the wrapper, and the wrapper can give them the right priveledges for the duration of the command. You may want to ask someone else about security issues however. I imagine it depends on how you implement it... Andy -- If it's not broken...your girlfriend will get bored with it anyway.