I needed to access the Hue file browser serviceĀ and for my version of cloudera this was:
cd /opt/cloudera/parcels/CDH-5.7.6-1.cdh5.7.6.p0.6/lib/hue
Run the createuser command:
./build/env/bin/hue createsuperuser
Username (leave blank to use ‘joebloggs’):
Email address: joebloggs@whatever.tld
Password:
Password (again):
Superuser created successfully.