Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

SOLVED Go to solution
Highlighted

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

Explorer

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

Expert Contributor

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.

 

1 REPLY 1

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

Expert Contributor

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.