Command Line Installation
Also available as:
PDF
loading table of contents...

Prepare Ranger Admin

Follow these instructions to prepare Ranger admin:

  1. 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
    
  2. 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.

  3. Use the kdestroy command to destroy your active Kerberos authorization tickets by overwriting and deleting the credentials cache that contains them:

    kdestroy