Re: How: Require root password instead of user password for GUI programs
On Fri 07 Apr 2023 at 21:09:59 +0200, tomas@tuxteam.de wrote:
> On Fri, Apr 07, 2023 at 06:22:48PM +0200, B.M. wrote:
>
> [...]
>
> > PolicyKit got replaced by polkit (at least in current Debian Testing),
> > and the "old" solution with setting AdminIdentities doesn't work
> > anymore. Instead one has to add a file /etc/polkit-1/rules.d/50-
> > default.rules as follows:
> >
> > polkit.addAdminRule(function(action, subject) {
> > return ["unix-user:0"];
> > });
>
> Gah.
>
> > in order to require root credentials for admin tasks (if sudo is
> > installed).
> >
> > I hope someone finds this useful.
>
> You folks keeping up with desktop environments are
> real heroes:-)
It's a dirty job, but someone has to do it :).
--
Brian.
Reply to: