With sssd, "getent group" miss a user whose primary group is root.
Issue
- With sssd, "getent group" miss a user whose primary group is root.
[Steps to Reproduce]
1. Install RHEL8.1 or RHEL8.2 Beta
2. Uncomment the following line in /etc/pam.d/su to implicitly trust users in the "wheel" group.
# vi /etc/pam.d/su
...
auth sufficient pam_wheel.so trust use_uid
3. Add a user as primary group: root and supplementary group: wheel
# useradd -g root -G wheel user01
4. Run su as follows.
# su user01 # *
$ su
Password: # It's not supposed to.
* "su user01" makes the following situation.
# grep wheel /etc/group
wheel:x:10:user01
# getent group wheel
wheel:x:10:
[Expected results]
# getent group wheel
wheel:x:10:user01
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.