Support Questions

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

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.