Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Change HDP service users passwords (hdfs,yarn,mapred,hive,etc.)

avatar
Contributor

Do I need to set the password on some configuration files when I change the service user account passwords (hdfs,yarn,mapred,hbase,oozie,hive etc.)?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hi @John Ross Tasipit

Services are started by ambari-sudo.sh, and if you see /etc/shadow these users don't have any password.

So you shouldn't have to set the password anywhere.

But if you enable security in the cluster and you want to have these passwords for kinit, you will have to manually create all services keytabs instead of the keytab generated by ambari which have random keys.

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

Hi @John Ross Tasipit

Services are started by ambari-sudo.sh, and if you see /etc/shadow these users don't have any password.

So you shouldn't have to set the password anywhere.

But if you enable security in the cluster and you want to have these passwords for kinit, you will have to manually create all services keytabs instead of the keytab generated by ambari which have random keys.

avatar
Contributor

Thank you that was well answered.