Somebody . . . Eureka!

Andy B. andyb at stb.info.com
Sat May 18 15:12:51 AEST 1991


crawford at 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.



More information about the Comp.unix.sysv386 mailing list