Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 01:39:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 202615] sysutils/polkit wrong permissions
Message-ID:  <bug-202615-6497-NK5WNOi1bc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202615-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202615-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202615

--- Comment #4 from otacilio.neto@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202615-6497-NK5WNOi1bc>