SUMMARY How to set up non-root user to run shutdown

From: Nancy Fisher <Fisher_at_cc.admin.unt.edu>
Date: Thu May 23 2002 - 12:48:57 EDT
Hello,
I want to allow a non-root user to run /etc/shutdown command.  I am
running Solaris 8 2/2 and the username is the owner with group as
staff.

I entered the following:

setfacl -m user:username:5 /etc/shutdown

getfacl /etc/shutdown showed:
#owner:root
#group:sys
user::rwx
user:username:r-x    #effective:r-x
group:r-x                   #effective:r-x
mask:r-x
other:r-x

When username runs the /etc/shutdown, it says only root can shutdown.
What am I doing wrong?  Thanks in advance for responses. 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 23 14:22:11 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:44 EST