Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

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.

Hue: Can super user status be granted to an LDAP group?

avatar
Contributor

Can super users status be granted to an entire LDAP group or must it be done one user at a time? 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Unfortunately there is no way to provide super user access to an entire group today.  It must be done one user at a time.  There is a feature request to add this in a future release.  You could do it programatically to make it a little easier, see the section "How to make a certain user a Hue admin"

 

http://gethue.com/password-management-in-hue/

 

You could create a list of users and iterate through them in hue shell.  Make sure to set HUE_CONF_DIR=/var/cloudera-scm-agent/process/id-hue-HUE_SERVER where id is most recent.  ON CDH 5.5 and above you also have to set:

 

export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1

export HUE_DATABASE_PASSWORD=huedatabasepassword

 

Hope this helps.

 

View solution in original post

1 REPLY 1

avatar
Super Collaborator

Unfortunately there is no way to provide super user access to an entire group today.  It must be done one user at a time.  There is a feature request to add this in a future release.  You could do it programatically to make it a little easier, see the section "How to make a certain user a Hue admin"

 

http://gethue.com/password-management-in-hue/

 

You could create a list of users and iterate through them in hue shell.  Make sure to set HUE_CONF_DIR=/var/cloudera-scm-agent/process/id-hue-HUE_SERVER where id is most recent.  ON CDH 5.5 and above you also have to set:

 

export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1

export HUE_DATABASE_PASSWORD=huedatabasepassword

 

Hope this helps.