Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256845
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How: Require root password instead of user password for GUI programs |
| Date | 2023-04-08 00:40 +0200 |
| Message-ID | <Gi2Uq-uxT-3@gated-at.bofh.it> (permalink) |
| References | <Ghx4d-atR-5@gated-at.bofh.it> <Ghzpn-c5d-3@gated-at.bofh.it> <GhXi1-r2k-1@gated-at.bofh.it> <GhZMR-sHU-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How: Require root password instead of user password for GUI programs "B.M." <b-misc@gmx.ch> - 2023-04-06 14:40 +0200
Re: How: Require root password instead of user password for GUI programs Jeffrey Walton <noloader@gmail.com> - 2023-04-06 17:10 +0200
Re: How: Require root password instead of user password for GUI programs Joe <joe@jretrading.com> - 2023-04-06 17:30 +0200
Re: How: Require root password instead of user password for GUI programs "B.M." <b-misc@gmx.ch> - 2023-04-07 18:40 +0200
Re: How: Require root password instead of user password for GUI programs <tomas@tuxteam.de> - 2023-04-07 21:20 +0200
Re: How: Require root password instead of user password for GUI programs Brian <ad44@cityscape.co.uk> - 2023-04-08 00:40 +0200
Re: How: Require root password instead of user password for GUI programs <tomas@tuxteam.de> - 2023-04-08 07:40 +0200
csiph-web