Date: Sun, 19 Apr 2009 03:20:03 +0300 From: Manolis Kiagias <sonic2000gr@gmail.com> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: FreeBSD 7.2 RC1 amd64 Installation Message-ID: <49EA6E33.1060906@gmail.com> In-Reply-To: <20090419010904.714c2dc2@gluon.draftnet> References: <a333b2be0904181604g2ad6adb0ieb097226370287a@mail.gmail.com> <20090419010904.714c2dc2@gluon.draftnet>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran wrote:
> On Sat, 18 Apr 2009 19:04:26 -0400
> Mehmet Erol Sanliturk <m.e.sanliturk@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 ;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EA6E33.1060906>
