:: Re: [DNG] polkit - which one?
Góra strony
Delete this message
Reply to this message
Autor: Didier Kryn
Data:  
Dla: dng
Temat: Re: [DNG] polkit - which one?
Le 19/06/2016 10:41, emninger@??? a écrit :
> Am Sat, 18 Jun 2016 08:49:39 +0000
> schrieb Didier Kryn <kryn@???>:
>
> Salut Didier!
>
>>       I have created two launcher files invoking /sbin/halt and
>> /sbin/reboot, with sensible icons, and then dragged them into the
>> pannels of all 4 users of the desktop. And I have added the following
>> line to the sudoers file:

>>
>> ALL    myhostname = (root) NOPASSWD: /sbin/halt, /sbin/reboot,
>> /sbin/shutdown
> i've pretty much the same (only i use a pre-fabricated tool, cb-exit, a
> logout tool of which once was done for crunchbang, a python script btw).

>

     Did you put the command you actually call in the (coma separated) 
list, along with halt and reboot? This command should also be owned by 
root and be in the secure_path as specified in /etc/sudoers.


     Didier