:: Re: [DNG] polkit - which one?
Página Inicial
Delete this message
Reply to this message
Autor: Ozi Traveller
Data:  
Para: emninger
CC: dng
Assunto: Re: [DNG] polkit - which one?
Hi emninger

This is the group like I use in d-i

d-i passwd/user-default-groups string audio cdrom video sudo powerdev
netdev plugdev fuse users lp lpadmin

powerdev is probably the one you want.

Ozi

On Sun, Jun 19, 2016 at 6:41 PM, <emninger@???> wrote:

> 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).
>
> I set the line in sudoers like yours, yes: i used visudo! ;), but still
> it does not work: shutdown, reboot, halt still require root with a
> password. I am the only user on this machine
>
> Reflecting on it: should there be created a group whereto user should
> be added or somethin thatlike. In any case, user is added to the group
> sudo.
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>