Created 04-15-2023 05:46 AM
I created a user in Ambari but unable to find the users name in file views in users folder.
For e.g : I have created a user named john so a folder named john should be created under users in file views in Apache Ambari but in my case the file is not present. Kindly help me figure out the issue.
Created 04-15-2023 05:47 AM
Kindly help me @Shelton If you are aware of it
Created on 04-15-2023 02:13 PM - edited 04-15-2023 02:14 PM
Assumption non kerberized sandboox
User creation in Ambari Ui should auto create user's home directory.
Let try out this recommended approach
On your Ambari Server host, backup and edit the ambari-properties file.
Edit using vi in this example
For consistency group it alphabetically add the line below as shown see last line
ambari.post.user.creation.hook=/var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh
Save the new ambari.properties
Restart Ambari server.
Recreate a new user and see if the home dir is auto-created in /user/<New_user>
Please let me know if that helped