Hardware Audit

Tobias Speckbacher TSpeckbacher at quova.com
Fri Feb 24 20:12:46 UTC 2006




> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of McDougall, Marshall (FSH)
> Sent: Friday, February 24, 2006 6:30 AM
> To: General Red Hat Linux discussion list
> Subject: RE: Hardware Audit
> 
> Why would you want non privileged users to be able to shut down the
> machine?  Just curious.
> 
> Regards, Marshall
> 
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Yogi pn
> Sent: Friday, February 24, 2006 12:00 AM
> To: General Red Hat Linux discussion list
> Subject: Re: Hardware Audit
> 
> Hi ,
>       We are using AIX 5.2, on this non previlaged users are not able
to
> shutdown the machine, what permissions are to be changed for the non
> previlaged users to shutdown the machine. Thanks for your help in
> advance.


If you really must have this functionality the best way to do it is
probably via sudo.
Adding the following to /etc/sudoers should work.

%group	ALL=/sbin/shutdown

For the user to utilize the shutdown command they would type:

sudo /sbin/shutdown <options>


> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list