Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256805

How: Require root password instead of user password for GUI programs

From "B.M." <b-misc@gmx.ch>
Newsgroups linux.debian.user
Subject How: Require root password instead of user password for GUI programs
Date 2023-04-06 14:40 +0200
Message-ID <Ghx4d-atR-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I configured my system such that some users are in group sudo, but they are
asked for the root password instead of just their user password by creating a
file within /etc/sudoers.d/ with the line:

 Defaults rootpw

This is working just fine, but for graphical applications it doesn't work: e.g.
to start synaptic I get a password prompt requiring my user password, not the
root password.

How can I configure my system such that entering the root password is also
required in these cases?

(Maybe there is something with polkit, but I couldn't figure out myself...)

Thank you.

Have a nice day,
Bernd

Back to linux.debian.user | Previous | NextNext in thread | Find similar | Unroll thread


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