Thanks! good info.

cheers,
Mark

On 7/21/05, CoolAJ86 <[EMAIL PROTECTED]> wrote:
> You'll need to setuid on the binary (that makes it run by everone as if
> root had run it). You may also want to configure acpi so that hitting
> the off button causes a clean shutdown.
> 
> 
> Via software
> chmod u+s /sbin/halt
> chmod u+s /sbin/shutdown
> chmod u+s /sbin/reboot
> 
> Via software if user is in acpiusers
> 
> groupadd acpiusers
> chgrp acpiusers /sbin/halt
> chgrp acpiusers /sbin/shutdown
> chgrp acpiusers /sbin/reboot
> chmod g+s /sbin/halt
> chmod g+s /sbin/shutdown
> chmod g+s /sbin/reboot
> 
> Via power switch
> http://gentoo-wiki.com/TIP_ACPI_basic_configuration
> 
>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to