The User Admin application lets a superuser add, delete, and manage Hue users and groups, and configure group permissions. Superusers can add users and groups individually, or import them from an LDAP directory. Group permissions define the Hue applications visible to group members when they log into Hue and the application features available to them.
Click the User Admin icon ()
in the navigation bar at the top of the Hue browser page. The Hue Users
page opens.
The User Admin application provides two levels of user privileges: superusers and users.
Users — can change their name, e-mail address, and password and log in to Hue and run Hue applications, subject to the permissions provided by the Hue groups to which they belong.
Username | A user name that contains only letters, numbers, and underscores; blank spaces are not allowed and the name cannot begin with a number. The user name is used to log into Hue and in file permissions and job submissions. This is a required field. |
Password and Password confirmation | A password for the user. This is a required field. |
Create home directory | Indicate whether to create a directory named /user/username in HDFS. For non-superusers, the user and group of the directory are username. For superusers, the user and group are username and supergroup. |
First name and Last name | The user's first and last name. |
E-mail address | The user's e-mail address. The e-mail address is used by the Job Designer and Beeswax applications to send users an e-mail message after certain actions have occurred. The Job Designer sends an e-mail message after a job has completed. Beeswax sends a message after a query has completed. If an e-mail address is not specified, the application will not attempt to email the user. |
Groups | The groups to which the user belongs. By default, a user is assigned to the **default** group, which allows access to all applications. See [Permissions](#permissions). |
Active | Indicate that the user is enabled and allowed to log in. Default: checked. |
Superuser status | Assign superuser privileges to the user. |
Hue must be configured to use an external LDAP directory (OpenLDAP or Active Directory). See Hue Installation in CDH4 Installation.
Note:
Importing users from an LDAP directory does not import any password information. You must add passwords manually in order for a user to log in.
To add a user from an external LDAP directory:
Username | The user name. |
Distinguished name | Indicate that Hue should use a full distinguished name for the user. This imports the user's first and last name, username, and email, but does not store the user password. |
Create home directory | Indicate that Hue should create a home directory for the user in HDFS. |
Click Add/sync user.
If the user already exists in the User Admin, the user information in User Admin is synced with what is currently in the LDAP directory.
You can sync the Hue user database with the current state of the LDAP directory using the Sync LDAP users/groups function. This updates the user and group information for the already imported users and groups. It does not import any new users or groups.
Superusers can add and delete groups, configure group permissions, and assign users to group memberships.
You can add groups, and delete the groups you've added. You can also import groups from an LDAP directory.
Name | The name of the group. Group names can only be letters, numbers, and underscores; blank spaces are not allowed. |
Members | The users in the group. Check user names or check Select all. |
Permissions | The applications the users in the group can access. Check application names or check Select all. |
Name | The name of the group. |
Distinguished name | Indicate that Hue should use a full distinguished name for the group. |
Import new members | Indicate that Hue should import the members of the group. |
Import new members from all subgroups | Indicate that Hue should import the members of the subgroups. |
Create home directories | Indicate that Hue should create home directories in HDFS for the imported members. |
Permissions for Hue applications are granted to groups, with users gaining permissions based on their group membership. Group permissions define the Hue applications visible to group members when they log into Hue and the application features available to them.