Password change

Is there a easy way to change a forgotten webui password with out reinstalling?

Thanks.

You can use the mongo command line client to set the password and salt for the admin user to these values. The password is test.

Run mongo then copy/paste the following:

use genieacs;
db.users.update({_id: "admin"}, {password: "fde2292ef35ba1539838382c4bed9e70814863bfdfa965d441db6589706f5d6644355ea44a9e87dd4dcc55eef5eab3271d1381aaa065cae51097617543d21ab5bf89f1354a965549e31a4732adf76a34b1b58e4fe6b2fbd551486c371ff93697892f3b34bc8918f3b5dcf2f884e75119f445ffb30451d621e69adf54bd4d449d", salt: "e651b0669d7e0ee92283af98f4500d5a83c2d14b67842e1685456e7bf889df9ead8c814208ad74d4a4fc374cf23215c6ba32ef2601d3fa8c0b603d5c5a2692e5"});
1 Like

Thanks!