[Freeipa-users] Renaming Sudo rule name

Petr Vobornik pvoborni at redhat.com
Tue Feb 10 08:53:39 UTC 2015


On 02/10/2015 09:22 AM, Sanju A wrote:
> Hi All,
>
> Is there any way I can re-name the sudo rule name or copy the existing
> sudo rule to a new one.

Hello,

sorry, there is no support for that in FreeIPA API atm.

But you can rename the rule directly using ldap modify.

e.g.:

dn: 
ipaUniqueID=a37f5faa-b0ff-11e4-a92e-001a4a22218e,cn=sudorules,cn=sudo,dc=example,dc=com
changetype: modify
replace: cn
cn: newName

Though, I'm not sure if it would cause some undesired side effects.

https://fedorahosted.org/freeipa/ticket/2466
https://fedorahosted.org/freeipa/ticket/2911

HTH
-- 
Petr Vobornik




More information about the Freeipa-users mailing list