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

Prepare Ranger Usersync

Follow these instructions to prepare Ranger usersync:

  1. Create rangersync/<FQDN_of_Ranger_Admin>@<REALM>:

    > kadmin.local
    > addprinc -randkey rangersync/<FQDN_of_Ranger_Usersync>
    > xst -k /etc/security/keytabs/rangerusersync.keytab
    > exit
    
  2. Verify that rangersync created principal:

    > kinit -kt  /etc/security/keytabs/rangersync.keytab rangersync/<FQDN_of_Ranger_usersync>@<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