<div dir="rtl"><div dir="ltr">OK, I will try and brew something.</div><div dir="ltr">Thank you for the response.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2014-12-23 23:28 GMT+02:00 Alexander Bokovoy <span dir="ltr"><<a href="mailto:abokovoy@redhat.com" target="_blank">abokovoy@redhat.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Hi,</div><div><br></div><div><br></div><hr><div><div class="h5"><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><div dir="rtl"><div dir="ltr">Hello All.</div><div dir="ltr"><br></div><div dir="ltr">I'm planning to migrate the /etc/sudoers into the IPA.</div><div dir="ltr">I have read that <span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace;background-color:rgb(252,252,252)">sudoers2ldif </span><span style="background-color:rgb(252,252,252)"><span style="font-family:arial,helvetica,sans-serif" face="arial, helvetica, sans-serif"><span style="color:#000000" color="#000000">should be used to import /etc/sudoers into LDAP.</span></span></span></div><div dir="ltr"><a href="http://www.sudo.ws/sudo/readme_ldap.html" target="_blank">http://www.sudo.ws/sudo/readme_ldap.html</a></div><div dir="ltr">The script will work as is? or changes should be add?</div><div dir="ltr">Should the users and group mentioned in sudoers be created beforehand?</div></div></blockquote></div></div><div>FreeIPA schema for sudo is different from what the script expects and produces so it will not be helpful.<br></div><div type="_moz">You can instead write own script that converts existing /etc/sudoers into a series of calls of IPA command line.<br></div><div><br></div><div>I have no handy examples of how to do it.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br></div><div><span name="x"></span>/ Alexander Bokovoy<span name="x"></span><br></div></font></span></div></div></blockquote></div><br></div>