-
Bug
-
Resolution: Cannot Reproduce
-
Normal
-
None
-
rhel-8.5.0
-
None
-
Moderate
-
rhel-idm-sssd
-
ssg_security
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
-
0
Description of problem:
In RHEL web console "Server Administrator" in the Roles item failed to provide administrative access to the user.
Version-Release number of selected component (if applicable):
- rpm -qa | grep cockpit
cockpit-ws-251.3-1.el8_5.x86_64
cockpit-system-251.3-1.el8_5.noarch
cockpit-251.3-1.el8_5.x86_64
cockpit-podman-39-1.module+el8.5.0+13754+92ec836b.noarch
cockpit-bridge-251.3-1.el8_5.x86_64
cockpit-storaged-251.1-1.el8.noarch
cockpit-packagekit-251.1-1.el8.noarch
How reproducible:
Steps to Reproduce:
1. Login to the RHEL web console, create account and set 'Server Administrator Role' :
~~~~~~~~~~~
https://localhost:9090/ -> Accounts -> Create Account (created test-wheel account) -> Click on user "test-wheel" -> Roles -> Check box Server Administrator
~~~~~~~~~~~
2. The newly created added as member of 'wheel' group :
~~~
[root@ipaserver-rh8 ~]# id test-wheel
uid=1022(test-wheel) gid=1027(test-wheel) groups=1027(test-wheel),10(wheel)
~~~
3. Verify the active authselect profile:
~~~~
[root@ipaserver-rh8 ~]# authselect current
Profile ID: sssd
Enabled features:
- with-mkhomedir
~~~~
Actual results:
~~~~~~~~~~~~~~~~~~~
[root@ipaserver-rh8 ~]# sudo -U test-wheel -ll
User test-wheel is not allowed to run sudo on ipaserver-rh8.
- Logged in with the user "test-wheel" via Cockpit -> Clicked on Limited Access -> Clicked on Switch to Administrative Access ---> Failed with below error:
----------------
Danger alert:
Problem becoming administrator
Test-wheel is not in the sudoers file. This incident will be reported.
---------------
~~~~~~~~~~~~~~~~~~~
Expected results:
- Logged in with the user "test-wheel" via Cockpit -> Clicked on Limited Access -> Clicked on Switch to Administrative Access ---> Successful :
Additional info:
Works when:
1. When sssd is configured as below :
~~~~~~~~~~~~~~~~
- Added below option under [sssd] section:
-------
enable_files_domain = false
-------
- Restart sssd service
~~~~~~~~~~~~~~~~
2. When minimal authselect profile is deployed.
3. Not working with the default (i.e sssd) authselect profile .