Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger command-line installation -> How to set admin username and password other than default?

Highlighted

Ranger command-line installation -> How to set admin username and password other than default?

Explorer

I am doing Ranger comman-line installation (non-ambari). I need to set the admin username and password other than the default. Which config file needs to be modified and what are the property names for the same?

1 REPLY 1
Highlighted

Re: Ranger command-line installation -> How to set admin username and password other than default?

Super Collaborator

Hi @GN_Exp,

you can update the user configuration from the command line utilities using the scripts under ranger-admin

for example to update the password of any user ( including the admin user )

Password Utility : 

python changepasswordutil.py <loginID> <currentPassword> <newPassword>
for admin Account : 
python changepasswordutil.py admin <currentPassword> <new_password>

to Update the User Name :
python changeusernameutil.py <loginID> <currentPassword> <newUserName>

Hope this help !!

Don't have an account?
Coming from Hortonworks? Activate your account here