[Bug 202615] sysutils/polkit wrong permissions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 22 01:39:14 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202615

--- Comment #4 from otacilio.neto at bsd.com.br ---
I have tested again and I run:

# pkg info -D xfce4-session

Copy the rule suggested to shutdown to:
/usr/local/etc/polkit-1/rules.d/50-HOSTNAME.rules

where HOSTNAME I replace by my hostname.
Replace PUTYOURGROUPHERE by wheel and double check if the user that must can
shutdown is in group wheel, otherwise add.

Run

# chown polkitd:wheel /usr/local/etc/polkit-1

An then, I have restarted hald and dbus. So, I did login with my user. The
xfce4 nows enable the poweroff button. Click with right button, properties and
check restart.

I have tested on FreeBSD 10 and 11 and it works.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list