Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

Explorer

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

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

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.

Explorer

Thank you that was well answered.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.