Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Cannot see set role to a user in a group in Sentry

avatar

I created a group in linux called operator with testuser as a member and assigned the role dkmf to the operator group with >grant role dkmf to group operator. This works as below I copied the output from >show role grant operator;

 


t> show role grant group operator;
+-------+---------------+-------------+----------+--+
| role | grant_option | grant_time | grantor |
+-------+---------------+-------------+----------+--+
| dkmf | false | NULL | -- |
+-------+---------------+-------------+----------+--+
1 row selected (0.061 seconds)

 

But when I am logged in as testuser and and try >show current roles; 

the dkmf role does not show, the ones that were set before. 

 

What's missing?

 

1 ACCEPTED SOLUTION

avatar
Cloudera Employee
If you are managing groups via the underlying OS you will need to manually add the group and user mapping to a minimum of the sentry host and your client host. It is recommended to add them to all hosts to avoid permission ambiguity when running jobs.

View solution in original post

1 REPLY 1

avatar
Cloudera Employee
If you are managing groups via the underlying OS you will need to manually add the group and user mapping to a minimum of the sentry host and your client host. It is recommended to add them to all hosts to avoid permission ambiguity when running jobs.