Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

You need to be in a special group (often: wheel)

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

You need to be in a special group (often: wheel)

#1 Post by compis3 »

After installaing Debian 11 running KDE plasma and when I go to Discover and then setting and attempt to open the software sources it asks for
admin password. When I use the root password it fails. i can use the root password for other functions like installing apps. This is a new installation and it does not accept my password. Why?
Attachments
debian root password fail.png
Last edited by compis3 on 2023-02-25 09:27, edited 1 time in total.

reinob
Posts: 1198
Joined: 2014-06-30 11:42
Has thanked: 100 times
Been thanked: 47 times

Re: You need to be in a special group (often: wheel)

#2 Post by reinob »

It's asking you for /your/ password, not for the root password.

User avatar
NorthEast
Posts: 352
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 30 times

Re: You need to be in a special group (often: wheel)

#3 Post by NorthEast »

It looks like it expects you to be in the sudo group and have sudo configured.

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: You need to be in a special group (often: wheel)

#4 Post by compis3 »

Should'nt the admin password be already in the group? why can I not access the software sources ?

CwF
Global Moderator
Global Moderator
Posts: 2743
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 45 times
Been thanked: 206 times

Re: You need to be in a special group (often: wheel)

#5 Post by CwF »

If anyone would like to step through a process to determine if polkit can solve this issue, I'll try to be helpful! I don't use KDE.

I assume the package in question here is 'plasma-discover'?
I assume a default 'polkit' variant is also installed?
I assume root rights are somehow attainable in a terminal. CLI notation $ as user, # as root.

Note that 'wheel' is an arch thing and while group rights are a valid method it is also a conflation, along with sudo.

for fun, at least once, just to see;

Code: Select all

 $ pkexec plasma-discover 
Maybe, maybe not. I don't see any dependency by plasma-discover on any polkit mechanism, so I'd need to ask...

Code: Select all

 $ pkaction 
This should give a long list....
In that list there may be (com.ubunto.org.something...)plasma-discover.policy
Or perhaps something related like software-properties-qt.policy

If so, we may continue...
a preview may be;

Code: Select all

 $ pkcheck --process $$ --action-id $(found in above list) --allow-user-interaction --enable-internal-agent
...maybe?
Last edited by CwF on 2023-02-25 17:29, edited 1 time in total.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 741
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 67 times
Been thanked: 173 times

Re: You need to be in a special group (often: wheel)

#6 Post by fabien »

CwF wrote: 2023-02-25 16:00I don't see any dependency by plasma-discover on any polkit mechanism
this is the dependency chain:
plasma-discover depends kio
kio depends libkf5authcore5
libkf5authcore5 depends libpolkit-qt5-1-1
libpolkit-qt5-1-1 depends libpolkit-agent-1-0, libpolkit-gobject-1-0

Code: Select all

Package: libpolkit-qt5-1-1
Source: polkit-qt-1
Version: 0.113.0-1
Installed-Size: 265KB
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Architecture: amd64
Depends     ▼
 libc6 (>=2.14), libgcc-s1 (>=3.0), libglib2.0-0 (>=2.37.3), libpolkit-agent-1-0 (>=0.99),
 libpolkit-gobject-1-0 (>=0.105-12~), libqt5core5a (>=5.14.1), libqt5dbus5 (>=5.1.0),
 libqt5gui5 (>=5.1.0)|libqt5gui5-gles (>=5.1.0), libqt5widgets5 (>=5.1.0), libstdc++6 (>=4.1.1),
 default-logind|logind
Description-en: PolicyKit-qt5-1 library
 PolicyKit is an application-level toolkit for defining and handling the policy
 that allows unprivileged processes to speak to privileged processes.
 .
 It is a framework for centralizing the decision making process with respect to
 granting access to privileged operations (like calling the HAL Mount() method)
 for unprivileged (desktop) applications.
 .
 libpolkit-qt5-1 provides convenience classes and methods for Qt/KDE
 applications that want to use PolicyKit.
 .
 This package contains the files necessary for running applications that use
 the libpolkit-qt5-1 library.
Multi-Arch: same
Homepage: https://invent.kde.org/libraries/polkit-qt-1
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/p/polkit-qt-1/libpolkit-qt5-1-1_0.113.0-1_amd64.deb
Size: 61KB
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

CwF
Global Moderator
Global Moderator
Posts: 2743
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 45 times
Been thanked: 206 times

Re: You need to be in a special group (often: wheel)

#7 Post by CwF »

fabien wrote: 2023-02-25 17:21 libkf5authcore5 depends libpolkit-qt5-1-1
libpolkit-qt5-1-1 depends libpolkit-agent-1-0, libpolkit-gobject-1-0
Alrighty, thanks @fabien
so the pkaction list should have something to work with and make a rule. I would want to eliminate the password myself...

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: You need to be in a special group (often: wheel)

#8 Post by compis3 »

This is a newly installed Debian 32 bit with KDE and I am to understand that I must install more packages to access the preinstalled software and sources ?
Does this mean a installtion problem?

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2046
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 152 times
Been thanked: 213 times

Re: You need to be in a special group (often: wheel)

#9 Post by Hallvor »

Did you try adding your user to the wheel group?

As root:

Code: Select all

# usermod -aG wheel yourrealusernamehere
(or whatever your username is).

Anyway, Discover isn't the best. I tried to change one of the sources, it asked for my root password, accepted it, and then did nothing. If you want to edit your sources.list, you can do it manually:

Code: Select all

# nano /etc/apt/sources.list
Make your changes, then Ctrl+x, then confirm with y to save and exit.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: You need to be in a special group (often: wheel)

#10 Post by p.H »

compis3 wrote: 2023-02-25 08:53 Should'nt the admin password be already in the group?
This question makes no sense.
Groups contain users, not passwords.
There is no such thing as an "admin password". There is your (user) password, and there may be a root password. The dialog in your screen shot seems to ask for your user password, not the root password. But it won't help if your user does not have the required privileges.

If your question was actually " shouldn't my user account already be in the sudo group ?", the answer is yes if you did not set a root password during installation, and no otherwise.
CwF wrote: 2023-02-25 16:00 Note that 'wheel' is an arch thing
I have seen it in openSUSE, which has little to do with Arch.
Hallvor wrote: 2023-02-26 21:50 Did you try adding your user to the wheel group?
In Debian, sudo does not use the "wheel" group by default. It uses the "sudo" group.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2046
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 152 times
Been thanked: 213 times

Re: You need to be in a special group (often: wheel)

#11 Post by Hallvor »

I didn't mention sudo: https://wiki.debian.org/WHEEL/PAM
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

CwF
Global Moderator
Global Moderator
Posts: 2743
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 45 times
Been thanked: 206 times

Re: You need to be in a special group (often: wheel)

#12 Post by CwF »

I'm still curious if polkit works for KDE like it does for XFCE. I'm not so motivated to try it...

compis3
Posts: 141
Joined: 2022-08-28 20:57
Has thanked: 2 times

Re: You need to be in a special group (often: wheel)

#13 Post by compis3 »

I think the problem is I created a root password and the KDE is not able to use the user password for access. But it doesn't acept the root password either. Only when i initiate a cli with the root password it works.

CwF
Global Moderator
Global Moderator
Posts: 2743
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 45 times
Been thanked: 206 times

Re: You need to be in a special group (often: wheel)

#14 Post by CwF »

...if you could, post results

Code: Select all

ls /usr/share/polkit-1/actions/
then I'd have an idea if KDE can be passwordless.

Post Reply