Support Questions

Find answers, ask questions, and share your expertise

What are the best practises for Unix user mapping ?

avatar
Contributor

Hello,

We have a working HDP 2.4 Kerberos enabled working, with Hue and from command line too.

Following to the documentation, we have created Unix user mappings between the nodes and Active Directory. Users can login to a utility machine and kinit to login.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/create_mappings_b...

It's working just fine.

My question is about the management of those users: everytime we want to grand access to a new user, we need to go ahead and create those users on all nodes, which is not very practical.

What are the best practises for that?

  • script user accounts creation?
  • Enrol all node machines as domain machines so that AD users can login?
  • Configure the unix machine to accept login using LDAP against AD?
  • Others?

Thanks a lot in advance for ideals and experiences.

Tristan

1 ACCEPTED SOLUTION

avatar
Super Collaborator
4 REPLIES 4

avatar
Super Collaborator

avatar
Contributor

Thanks @hkropp. I'm looking at the suggested options.

What about plain LDAP login configuration on the nodes, could it be a simple solution too?

avatar
Super Collaborator

avatar
Super Collaborator

Well, you would have the login, but not the kerberos init. You would still have two realms with user credentials the KRB5 realm and the LDAP realm depending on your setup.

Actually the KRB5 realm can be included inside LDAP or put differently Kerberos can be configured to use LDAP as it's user DB, that would give you the possibility to combine both. This essential is what FreeIPA is.