IPA Server & Client Commands Jul 26th, 2013 Not that this isn’t available elsewhere, but… just keeping it nicely stored somewhere for myself. on ipa server: ipa host-add host.example.com --password=MEEEEEP --force on client: ipa-client-install --hostname=host.example.com --domain=example.com --password=MEEEEEP --realm=EXAMPLE.COM --server=ipa.example.com --unattended --mkhomedir Hostadd.sh1 2 3 4 5 6 7 8 #!/bin/bash echo echo "ipa host-add $1.example.com --password=MEEEEEP --force" echo echo echo "ipa-client-install --hostname=$1.example.com --domain=example.com --password=MEEEEEP --realm=EXAMPLE.COM --server=ipa.example.com --unattended --mkhomedir" echo Uninstall IPA Uninstall IPA1 2 3 4 5 [root@solr05 ~]# ipa-client-install --uninstall -U Unenrolling client from IPA server Removing Kerberos service principals from /etc/krb5.keytab Disabling client Kerberos and LDAP configurations Restoring client configuration files