[Freeipa-users] Importing /etc/sudoers into IPA.

Alexander Bokovoy abokovoy at redhat.com
Tue Dec 23 21:28:25 UTC 2014


Hi, 

----- Original Message -----

> Hello All.

> I'm planning to migrate the /etc/sudoers into the IPA.
> I have read that sudoers2ldif should be used to import /etc/sudoers into
> LDAP.
> http://www.sudo.ws/sudo/readme_ldap.html
> The script will work as is? or changes should be add?
> Should the users and group mentioned in sudoers be created beforehand?

FreeIPA schema for sudo is different from what the script expects and produces so it will not be helpful. 
You can instead write own script that converts existing /etc/sudoers into a series of calls of IPA command line. 

I have no handy examples of how to do it. 
-- 
/ Alexander Bokovoy 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20141223/0ef89fad/attachment.htm>


More information about the Freeipa-users mailing list