Prepare Ranger Admin
Follow these instructions to prepare Ranger admin:
Create
rangeradmin/<FQDN_of_Ranger_Admin>@<REALM>
:> kadmin.local > addprinc -randkey rangeradmin/<FQDN_of_Ranger_Admin> > xst -k /etc/security/keytabs/rangeradmin.keytab rangeradmin/<FQDN_of_Ranger_Admin>@<REALM> > exit
Verify that
rangeradmin
created principal:> kinit -kt /etc/security/keytabs/rangeradmin.keytab rangeradmin/<FQDN_of_Ranger_Admin>@<REALM>
After using the kinit command, there should not be any errors. You can use the klist command to verify that your kinit command was successful.
Use the kdestroy command to destroy your active Kerberos authorization tickets by overwriting and deleting the credentials cache that contains them:
kdestroy