How to set permission to allow non-root user to run shutdown

From: Nancy Fisher (Fisher@cc.admin.unt.edu)
Date: Thu May 23 2002 - 12:31:05 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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:22 EDT