Created 05-02-2017 05:05 PM
I am trying to create a application user/group for ingesting data, or application user can run a job how this can be handle and how this user can reflect too all nodes at one shot! can i use ansible for this so it can be reflect to all nodes? or any other way we have solution for this?
Created 05-02-2017 05:14 PM
Hi Naveen, you have the option to add local users/group or sync with LDAP: See http://docs.hortonworks.com/HDPDocuments/Ambari-22.214.171.124/bk_Ambari_Admin_Guide/content/_local_and_lda...
Created 05-02-2017 05:17 PM
You can create users in LDAP and use them across machines or create users on each machine. If security is enabled, which I guess it is, then Kerberos principals need to be created and will be mapped to unix users using hadoop.security.auth_to_local property. Kerberos principals have a FQDN components sothey will be separate for each node.
I am not sure how ansible can help with this requirement. The easiest way to automate this is to use Ambari.
Created 05-02-2017 05:38 PM
thanks for you response,
let's say i have a application user for application purpose ex: twitteruser how this user need to be created across all nodes? we don't want to create a user with there own name if that user left again we need to rewite the code for deployment
i already set up user in ldap so those can use in ambari access level only
Created 05-02-2017 05:39 PM
@ ward bekker @ mqureshi
Created 05-02-2017 05:40 PM
Created 05-02-2017 05:43 PM
is user " twitteruser" is created and how the passwords can manage on it?
Created 05-03-2017 06:29 PM
It's all going to be through LDAP. Otherwise create a twitteruser on all nodes (with same password) - not recommended.