To list all files in current directory including dot files (hidden files or directories), as well as print permissions :
ls -laReset NodeBB admin password
-
Reset the NodeBB admin password
Or any users password for that matter!
Go to YourDomain/reset
Type in your email. A key will be generated internally, The key expires after 2 hours.
Goto the command line of your server and type:
redis-cli
This enters you into the redis console.
Type in the redis-cli:
hgetall reset:uid
This will show you the account which has just used the ‘reset’ script, and print the reset code. Which will appear in the following format (this will not work for you, you need to generate your own unique ID)
127.0.0.1:6379> hgetall reset:uid 1) "269be29c-d523-49f0-9ecd-39f3f098ad6c"
Go to YourDomain/reset/
And type or paste the reset code:
Example:
YourDomain/reset{reset-uid}
Or more specifically :
YourDomain/reset/269be29c-d523-49f0-9ecd-39f3f098ad6c
At this point you will be redirected to enter the new password. Once this is complete, log in with your new password.
Fin!