hue run command line arguments code example

Example: hue run command line arguments

# Hue running changepassword via command line Linux
[root@cdhnok54-1 tmp]# export HUE_CONF_DIR="/var/run/cloudera-scm-agent/process/\`ls -1 /var/run/cloudera-scm-agent/process | grep HUE | sort -n | tail -1 \`"
[root@cdhnok54-1 tmp]# /opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue changepassword admin
Changing password for user 'admin'

Password:
Password (again):
Password changed successfully for user 'admin'

Tags:

Misc Example