Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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'
Source by gethue.com #
 
PREVIOUS NEXT
Tagged: #hue #run #command #line #arguments
ADD COMMENT
Topic
Name
2+1 =