On 08/01/03  Lares Weaselle wrote:

> I would like to be able to reboot/halt my laptop while a user.  I
> don't like to have to superuser to do so.  Any thoughts?

If you use ACPI emerge acpid-1.0.2-r2 (you need -r2 for a working
default config) you can poweroff your laptop with the power button. Have
a look at /etc/acpi/default.sh, you can define any action there.

If you want to use the commands halt/poweroff/reboot as user you can
either use sudo or set them SUID (security risk) with 
        chmod u+s <filename>

Marius

--
[EMAIL PROTECTED] mailing list

Reply via email to