Hi,
On Fri, Sep 13, 2024 at 10:13 AM Tolgay Gul via FreeIPA-users <
[email protected]> wrote:
> Hi,
>
> One of the regulators asked to disable the admin account, the idea being
> that we cannot use a shared user account for any reason. But all the host
> registrations use the admin account and its password. I cannot disable it
> as is. Either I need to create a new user with the same privileges or use
> another login method, as I do for the below. The other option might be to
> disable the admin account from the GUI access.
>
> ipa-client-install --mkhomedir --server=auth.abc --domain
> bbb.abs.com--realm BBB.ABC.COM -p admin -w "${FREEIPA_PASS}" --force-join
> -U
>
> Is there a way to disable the admin account while using another user for a
> service account? Or any other suggestion?
>
you can create a new user with "ipa user-add ...", then add this user to
the admins group with "ipa group-add-member admins --user <your_user>" and
finally disable the original admin user with "ipa user-disable admin". The
new user will have exactly the same privileges as the original admin.
flo
--
> _______________________________________________
> FreeIPA-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedorahosted.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
--
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue