Re: x11-wm/xfce4-session default reboot/halt/suspend permissions
On 07/18/2012 01:19, J.R. Oldroyd wrote: > On Mon, 16 Jul 2012 21:08:43 -0700, Doug Barton wrote: >> >> I proposed this a while back, so I'm in favor. :) One thing though, >> since suspend/resume doesn't work for most of our users, that bit should >> be an option, off by default. >> >> Doug >> > > Good idea. Maybe make the restart and shutdown one option, default on, > and the suspend a second option, default off? The config can be installed > as two separate files to make this easy. Restart and shutdown don't need to be options. -- Change is hard. ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"
Re: x11-wm/xfce4-session default reboot/halt/suspend permissions
On Mon, 16 Jul 2012 21:08:43 -0700, Doug Barton wrote: > > I proposed this a while back, so I'm in favor. :) One thing though, > since suspend/resume doesn't work for most of our users, that bit should > be an option, off by default. > > Doug > Good idea. Maybe make the restart and shutdown one option, default on, and the suspend a second option, default off? The config can be installed as two separate files to make this easy. -jr ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"
Re: x11-wm/xfce4-session default reboot/halt/suspend permissions
On 07/16/2012 12:44, J.R. Oldroyd wrote: > Hi folks, > > Port x11-wm/xfce4-session currently provides a pkg-message that advises > folk to add a .pkla file in: > %%LOCALBASE%%/etc/polkit-1/localauthority/50-local.d > that adds the necessary PolicyKit permissions to add reboot/halt and > now also suspend capabilities to the xfce4-session-logout dialog. > > It requires users to copy a sample, and edit: > Identity=unix-group:PUTYOURGROUPHERE > > I would like to propose that this file be installed by the port with > the above line set to: > Identity=unix-group:wheel > > My intent here is to automatically enable reboot/halt/suspend capability > in a way that doesn't open new holes. Users in group wheel can already > reboot/halt/suspend, so this will work as expected on systems with users > in the wheel group. Users in other groups can still edit the file as > they need. > > Any problems with this? I proposed this a while back, so I'm in favor. :) One thing though, since suspend/resume doesn't work for most of our users, that bit should be an option, off by default. Doug -- Change is hard. ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"
x11-wm/xfce4-session default reboot/halt/suspend permissions
Hi folks, Port x11-wm/xfce4-session currently provides a pkg-message that advises folk to add a .pkla file in: %%LOCALBASE%%/etc/polkit-1/localauthority/50-local.d that adds the necessary PolicyKit permissions to add reboot/halt and now also suspend capabilities to the xfce4-session-logout dialog. It requires users to copy a sample, and edit: Identity=unix-group:PUTYOURGROUPHERE I would like to propose that this file be installed by the port with the above line set to: Identity=unix-group:wheel My intent here is to automatically enable reboot/halt/suspend capability in a way that doesn't open new holes. Users in group wheel can already reboot/halt/suspend, so this will work as expected on systems with users in the wheel group. Users in other groups can still edit the file as they need. Any problems with this? -jr ___ freebsd-xfce@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xfce To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"