Skip to content

Cockpit terminal missing groups for users #21982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cskumar6381 opened this issue May 7, 2025 · 2 comments
Open

Cockpit terminal missing groups for users #21982

cskumar6381 opened this issue May 7, 2025 · 2 comments
Labels

Comments

@cskumar6381
Copy link

cskumar6381 commented May 7, 2025

Explain what happens

  1. WAD user when login to cockpit interface (terminal) and type groups its missng to show assinged local groups.
  2. while in putty we are able to see all the groups (local & AD)

Mapping AD users to Ubuntu local groups (adm) to leverage polkit (cockpit)

following line in /etc/pam.d/ password-auth file

auth required pam_group.so use_first_pass

Then /etc/security/group.conf like this:

;;%domain users;Al0000-2400;adm

Putty output

Image

Cockpit Termainal

Image

Version of Cockpit

333-1~bpo24.04.1

Where is the problem in Cockpit?

None

Server operating system

Ubuntu 24.04.1 LTS

Server operating system version

Ubuntu 24.04.1 LTS

What browsers are you using?

MS Edge

System log

@cskumar6381 cskumar6381 added the bug label May 7, 2025
@jelly
Copy link
Member

jelly commented May 7, 2025

The groups output from Cockpit is cropped and generally hard to read:

What is the output of

groups | grep adm

And how do you login with putty? That's ssh correct? If so it should use the same PAM rules.

@cskumar6381
Copy link
Author

cskumar6381 commented May 7, 2025

SSH ( via Putty) output

Image

Here you could see the linux local group is also mapped sucessfully. However not in the case of the cockpit interface terminal (below)

Cockpit Termainal

Image

Also SUDO ALL=(ALL:ALL) NOPASSWD option seeme not working too.. In case of restart service it still ask to enter passwd for administrative power.. Not sure if i am missing somthing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants