Created 10-14-2018 09:08 PM
I use my LDAP user logon to Ambari when I open HIVE VIEW ,it throw error file does not exist ‘/home/ldapuser’ .
I run command create folder .It can solved. But I want to know the home user can be created automatically when we log on. Because we have many user on LDAP that want to use HIVE VIEW .
Created 10-14-2018 09:11 PM
Ambari provides an option to have the users created automatically post user creation as mentioned in the following doc
It can be done by enabling the following property inside the "/etc/ambari-server/conf/ambari.properties"
ambari.post.user.creation.hook.enabled=true
.
Add the script path to the ambari properties file:
ambari.post.user.creation.hook=/var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh
Followed by Ambari Server Restart.
# ambari-server restart
.
Created 10-15-2018 08:58 AM
@Jay Kumar SenSharma thank you so much for your recommendation. i will try as you recommend.
Created 10-18-2018 12:58 AM
I try as you recommend . It don’t stiill automate. Please advise me how to modified kerborize file that I don’t modify. Thank you in advance.