Access to admin account
Unsolved
Technical Support
-
Access to admin account
I do not have access to the admin user account (who is the only administrator of my forum). When I installed nodebb and everything it generated that user and I don't have his credentials.
Is it possible to give me admin on my new user somehow?
I have tried doing a database query adding the admin group to my user as the admin user has it, but it doesn't work.
db.objects.updateOne( { username: 'Meketeke' }, { $set: { groupTitle: '["administrators"]' } } )
-
There are also two cli commands for this!
./nodebb user make admin <uid>
for what you and Baris described - giving an existing user administrative privileges./nodebb user reset <uid>
to reset the password (<uid>
will be 1 for default admin; the command will auto-generate a password and return it, you can also set your own with-p
/--password
option)
-
Copyright © 2024 NodeBB | Contributors