Friday, December 1, 2017

Change Password for Kerberos (admin) user

-- change password

[root@cdh-vm postgresql]# kadmin cpw cloudera-scm/admin@DBAGLOBE.COM
Password for cloudera-scm/admin@DBAGLOBE.COM:
Enter password for principal "cloudera-scm/admin@DBAGLOBE.COM":
Re-enter password for principal "cloudera-scm/admin@DBAGLOBE.COM":

[root@cdh-vm postgresql]# kinit cloudera-scm/admin@DBAGLOBE.COM
Password for cloudera-scm/admin@DBAGLOBE.COM:

[root@cdh-vm postgresql]#  klist -e
Ticket cache: KEYRING:persistent:0:0
Default principal: cloudera-scm/admin@DBAGLOBE.COM

Valid starting       Expires              Service principal
12/01/2017 05:32:33  12/02/2017 05:32:33  krbtgt/DBAGLOBE.COM@DBAGLOBE.COM
        Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96