Prevent Hue from Creating User Home Directories

Describes how to disable the automatic creation of user home directories.

By default, Hue creates a directory in the filesystem for a user when the user logs in to the Hue service.

For example, if a /user volume is configured in the filesystem, Hue creates a /user/<username> directory in the volume each time a user logs in to the Hue service. If a quota is not placed on that /user volume, a user could potentially place an unlimited amount of data in the volume.

If you do not want Hue to create a home directory for each user that logs in to the Hue service, disable the ensure_home_directory option in the [desktop] [[auth]] section of the hue.ini file, as shown:
[desktop]
  [[auth]] 
    ensure_home_directory=false
Restart the Hue service for the setting to take effect.
NOTE
This functionality is available by default starting in EEP 7.1.0. Previous versions of EEP can obtain this functionality through a patch. See Applying a Patch.