Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Question of Ambari and Ranger account

avatar
Expert Contributor

In Ranger, in order to assign a user to a policy ( directory access), that user must be in Ranger right. Is there a way to sync Ranger user account with Ambari user account. Why create multiple account in different system.

Is there a way to use Federated system, like google / facebook account. ??

what is the purpose of ranger user-sync ?

Thanks

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Prakash Punj

Yes you are right. In production , we use AD/LDAP sync with Ranger and Ambari so there is no duplicate effort.

For testing, you have to create users in both setup.

Is there a way to use Federated system, like google / facebook account. ?? No

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@Prakash Punj

Yes you are right. In production , we use AD/LDAP sync with Ranger and Ambari so there is no duplicate effort.

For testing, you have to create users in both setup.

Is there a way to use Federated system, like google / facebook account. ?? No

avatar
Master Mentor

Usersync pulls in users from UNIX, LDAP, or AD and populates Ranger's local user tables with these users.

avatar
New Contributor

So how do i create a policy in Ranger for a specific user and see the policy implemented in e.g. HDFS or Hive?

Just create the user in both Ambari console and Ranger with the same username? The passwords have different formats though.

avatar
Expert Contributor

avatar
Master Mentor
@Prakash Punj

You will find this very userful http://ranger.apache.org/faq.html

avatar
Expert Contributor

Thanks so much @Neeraj Sabharwal