Shutdown Privilege

Friends,

I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?

J1yant

What OS? Do you have any security package on the system (such as BoKS?)?

Best bet without knowing the answers to these questions - install and use sudo. This allows you to give certain users or groups some of the access as if they were root.

OS is SCO UNix Ware 7.0
The security package you mentioned is not installed.
Without any such security package can we grant SHUTDOWN privilege.Is there any work around ?

Check out http://www.courtesan.com/sudo/runson.html

Would it work to do something like the following?

create a group called "shutdown"
chgrp shutdown /sbin/shutdown
chmod 4550 /sbin/shutdown
add the users to the group "shutdown"

Then they could "newgrp shutdown; /sbin/shutdown -y -h 0"...