Created 11-21-2018 09:59 AM
Hello,
We could see the below alert in Ambari UI. Please let me know how to change/reset the password for the HDP service users.
Connection failed to http://xxxxxx.xxxxx.com:50070 (Execution of '/usr/bin/kinit -c /var/lib/ambari-agent/tmp/curl_krb_cache/web_alert_ambari-qa_cc_0968abaa5827638ae5a9a92642ebb363a83845d449ecfb223d4f91e3 -kt /etc/security/keytabs/spnego.service.keytab HTTP/xxxx> /dev/null' returned 1. You are required to change your password immediately (password aged) (current) UNIX password: su: Authentication token manipulation error Changing password for ambari-qa.)
When I tried to do $su hdfs from root, it's asking me to change the password
$su hdfs You are required to change your password immediately (password aged) Changing password for hdfs. (current) UNIX password:
$chage -l hdfs Last password change : Oct 16, 2018 Password expires : Nov 20, 2018 Password inactive : Feb 18, 2019 Account expires : never Minimum number of days between password change : 1 Maximum number of days between password change : 35 Number of days of warning before password expires : 6<br>
Please help ASAP.
Created 11-21-2018 10:10 AM
Hi @Sampath Kumar ,
From the output of chage -l hdfs i see your password of hdfs local user is expired. can you try to change
To resolve this issue, disable the expired password for the HDFS user, using the following command:
chage -m 0 -M 99999 -I -1 -E -1 hdfs
This command sets the following for the HDFS user:
You can further explore the command chage in google and set the password policy accordingly.
and then try again with ambari.
Please see if this helps you. please accept answer if it did.
Created 11-21-2018 10:10 AM
Hi @Sampath Kumar ,
From the output of chage -l hdfs i see your password of hdfs local user is expired. can you try to change
To resolve this issue, disable the expired password for the HDFS user, using the following command:
chage -m 0 -M 99999 -I -1 -E -1 hdfs
This command sets the following for the HDFS user:
You can further explore the command chage in google and set the password policy accordingly.
and then try again with ambari.
Please see if this helps you. please accept answer if it did.
Created 11-22-2018 05:31 AM
@Akhil S Naik : Thanks for your inputs