1 |
Thanks! good info. |
2 |
|
3 |
cheers, |
4 |
Mark |
5 |
|
6 |
On 7/21/05, CoolAJ86 <coolaj86@×××××.com> wrote: |
7 |
> You'll need to setuid on the binary (that makes it run by everone as if |
8 |
> root had run it). You may also want to configure acpi so that hitting |
9 |
> the off button causes a clean shutdown. |
10 |
> |
11 |
> |
12 |
> Via software |
13 |
> chmod u+s /sbin/halt |
14 |
> chmod u+s /sbin/shutdown |
15 |
> chmod u+s /sbin/reboot |
16 |
> |
17 |
> Via software if user is in acpiusers |
18 |
> |
19 |
> groupadd acpiusers |
20 |
> chgrp acpiusers /sbin/halt |
21 |
> chgrp acpiusers /sbin/shutdown |
22 |
> chgrp acpiusers /sbin/reboot |
23 |
> chmod g+s /sbin/halt |
24 |
> chmod g+s /sbin/shutdown |
25 |
> chmod g+s /sbin/reboot |
26 |
> |
27 |
> Via power switch |
28 |
> http://gentoo-wiki.com/TIP_ACPI_basic_configuration |
29 |
> |
30 |
> |
31 |
|
32 |
-- |
33 |
gentoo-user@g.o mailing list |