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

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


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?


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 <loginID> <currentPassword> <newPassword>
for admin Account : 
python admin <currentPassword> <new_password>

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

Hope this help !!

; ;