FreeBSD 7.2 RC1 amd64 Installation

Manolis Kiagias sonic2000gr at gmail.com
Sun Apr 19 00:20:07 UTC 2009


Bruce Cran wrote:
> On Sat, 18 Apr 2009 19:04:26 -0400
> Mehmet Erol Sanliturk <m.e.sanliturk at gmail.com> wrote:
>
>
>   
>> (3) When shutdown is selected from Gnome menu either by the first
>> user or the root , within displayed dialog box
>>       there is no a Shutdown item .
>>       It is necessary for the root open a terminal console , and enter
>> shutdown -p now command .
>>     
>
> Have you installed sudo?  I think those options
> (suspend/shutdown/hibernate) only get displayed if HAL sees sudo is
> available.
>
>   
Fact is you will get these options either if you have sudo and your user
account is authorized to shutdown / reboot (this is the fallback method
though) or if PolicyKit is configured (see
/usr/local/etc/PolicyKit/PolicyKit.conf) to allow shutdown/reboot.

Entries will look similar to these:

<match action="org.freedesktop.hal.power-management.shutdown">
      <match user="yourusername">
         <return result="yes"/>
      </match>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
      <match user="yourusername">
         <return result="yes"/>
      </match>
</match>

Have a look at http://www.freebsd.org/gnome/docs/halfaq.html for more
HAL fun ;)



More information about the freebsd-stable mailing list