Ubiquiti Controller Password reset

Fri 28 July 2017 by pj Tagged as software wifi

I really like my Ubiquiti AP; it's very set-and-forget.

But apparently I take that too literally, because I've forgotten the password at least twice in the 3 months I've owned it.

So here's a note (somewhat to myself) of the one-liner to reset the password to password:

(echo 'use ace' ; echo 'db.admin.update({}, { $set: {"x_shadow" : "$6$9Ter1EZ9$lSt6/tkoPguHqsDK0mXmUsZ1WE2qCM4m9AQ.x9/eVNJxws.hAxt2Pe8oA9TFB7LPBgzaHBcAfKFoLpRQlpBiX1"  }})') | mongo --port 27117