-
Notifications
You must be signed in to change notification settings - Fork 34
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
Removal of sss as standard on rhel7 #44
base: master
Are you sure you want to change the base?
Conversation
sss shoulden't be forced to be installed by the users to run a standard rhel 7. Fix issue #42 RHEL7: sudoers and value sss
@ghoneycutt i think there is something wrong with the travis job. Worked well when we ran the spec test locally. |
I made PR #45 to fix travis |
I thought that by default EL7 uses sss. If that is incorrect, could you point me toward some docs on the subject? You can always override the defaults by specifying values in Hiera or class parameters. |
If you rebase against master, you'll pick up the changes in PR #45 |
Since nsswitch ships with sss as standard on all but sudo. Seems that sudo isn't a part of nsswitch standard conf.
@ghoneycutt after your comment i took a deeper look at what was standard in rhel 7. /etc/nsswitch.confpasswd: files sss hosts: files dns bootparams: nisplus [NOTFOUND=return] files ethers: files netgroup: nisplus sss publickey: nisplus automount: files nisplus When looking at the sudo rpm I i couldn't find anything that updated the nsswitch with sudo. So I will be honest I didn’t manage to find where sudo is added to the nsswitch.conf file. Im unable to find how redhat add sss to their sudo row but Ubuntu does it through libsss-sudo and it seems like redhat would handle it in a similar way. So after that I added back sss to all rhel 7 as standard except sudo. |
Enabling sss/sudo integration in nss on RHEL 7 is a manual process: The "minimal" RHEL 7 installation profile does not include any sss packages. The "base" profile adds sssd-client, but that does not include libsss_sudo as a dependency: The "Directory Client" package group includes the sssd package which will pull in libsss_sudo as a dependency: Installing libsss_sudo does not pull in any additional sss packages. |
So it seems that sss is what EL uses even if they dont have sssd-client in the minimal install. You are proposing that we just remove it from sudoers as the default, which seems ok. |
sss shoulden't be forced to be installed by the users to run a standard rhel 7.
Fix issue #42 RHEL7: sudoers and value sss