sgkerop.blogg.se

Reset unifi controller password
Reset unifi controller password








reset unifi controller password
  1. #RESET UNIFI CONTROLLER PASSWORD INSTALL#
  2. #RESET UNIFI CONTROLLER PASSWORD UPDATE#

#RESET UNIFI CONTROLLER PASSWORD UPDATE#

Note: you can also update the email or username, but that shouldn'tīe required as you will get that information in the dump from running db.admin.find() Sources used: Login to the UniFi controller with your email and new password Run: mkpasswd -method=sha-512 -salt=9Ter1EZ9$lSt6 your-new-passwordĪdd the following to the same text file and update the x_shadow with the data you just generated: db.admin.update()Ĭopy and paste the above into the cmd UniFi Controller

#RESET UNIFI CONTROLLER PASSWORD INSTALL#

The salt for UniFi's mongo install is 9Ter1EZ9$lSt6 Use a WSL linux distro or you can alternately use Cygwin Utilities which has the required mkpasswd utility The Salt UniFi Controller Password Reset Tutorial Like any system administrator who was convinced that his own memory was perfect and his ability to remember the. Next you will need the whois package installed in order to access the mkpasswd utility Navigate into the unziped mongo install folder's sub-folder 'bin' in CMD.Ĭopy the "x_shadow" key and value mkpasswd Linux/Mac: Select Package type of zip as unless you want to install this version of mongo, you only want to run the executable. OS should default to your current OS Windows/Mac/Linux On the MongoDB Community Server area, change the version to the closest match to your controller, in my case it was 3.4.24 The 3rd line of the mongo.log file will show the DB version number, my case it was: I CONTROL db version v3.4.15 When trying to access my local UniFi controller web console I discovered that it was rejecting my. Mongo Windows, Mac, and Linux:įind out what version of mongodb the UniFi controller installed: %UserProfile%/Ubiquiti UniFi/Logs Please let me know if these don't work on Mac or Linux as I only tested on Windows. Go to the UniFi controllers authentication page, enter the username: admin (we also changed the password for it), enter the password for which the hash was. After hunting around and looking at various answers, I was able to put together a set of instructions that worked for me.










Reset unifi controller password