RE: Hardware Audit






-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] 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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list