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
--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project