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

Prepare Ranger Tagsync

Follow these instructions to prepare Ranger usersync:

  1. Create rangertagsync/<FQDN>@<REALM>:

    > kadmin.local
    >addprinc -randkey rangertagsync/<FQDN_of_Ranger_tagsync>
    > xst -k /etc/security/keytabs/rangertagsync.keytab rangertagsync/<FQDN>@<REALM>
    > exit
  2. Verify that rangertagsync created principal:

    > kinit -kt /etc/security/keytabs/rangertagsync.keytab rangertagsync/<FQDN_of_Ranger_tagsync>@<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
  4. Change the keytab permission to read-only and assign it to user ranger.