From 791c7eb3147bc80d38cdee4436a35c826fee25b8 Mon Sep 17 00:00:00 2001 From: Gabe Date: Mon, 24 Feb 2014 17:34:33 -0700 Subject: [PATCH] [DOC] Document steps to restore deleted admin account Added a tip under 'Deleting Users' on how to re-add the admin account. https://fedorahosted.org/freeipa/ticket/2746 --- src/user_guide/en-US/Users.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/user_guide/en-US/Users.xml b/src/user_guide/en-US/Users.xml index 9ab18ac4fce8e0f1f79546385244a299a8ee05ca..717323d637dda99049867cccb67390906d15b6df 100644 --- a/src/user_guide/en-US/Users.xml +++ b/src/user_guide/en-US/Users.xml @@ -455,6 +455,21 @@ UID: 387115841 Alternatively, any user who belongs in the group management role can also add a new admin user. + TIP + + If the admin account is accidentally deleted, you can use ldapmodify to add another user into the admins group: + ldapmodify -x -D 'cn=directory manager' -W +dn: cn=admins,cn=groups,cn=accounts,dc=example,dc=com +changetype: modify +add: member +member: uid=youruser,cn=users,cn=accouns,dc=example,dc=com + + + + Once you have added another user to the admins group, you can now choose whether you would like to re-create the admin account in &IPA; or not. + + +
With the Web UI -- 1.8.3.1