openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27942
[Question #706189]: sudo-ldap modifies nsswitch.conf from sss to ldap
New question #706189 on sudo in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/706189
Our systems (server ubuntu 20.04, clients 22.04) are configured to get the sudoers directives from ldap with the help sssd. This works pretty well with having
sudoers: files sss
in /etc/nsswitch.conf. Whenever sudo-ldap is updated it gets changed to
sudoers: files ldap
This happens with the postinst script (line 25-28), where the line (sudoers: files ldap) is added. Unfortunately, I did not find where the old line containing the correct entries gets removed, which is the origin of the configuration trouble.
Is there a way to prevent that the update procedure changes /etc/nsswitch.conf?
--
You received this question notification because your team OpenERP Indian
Team is an answer contact for sudo in Ubuntu.