Support Questions
Find answers, ask questions, and share your expertise

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

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 !!