-
Notifications
You must be signed in to change notification settings - Fork 4
I.6. Superuser account
To be able to manage user access levels, bans, and do other administrative stuff (edit/delete posts, etc.), you have to create a superuser account first. Launch ololord.js and type:
add-superuser
You will be prompted to enter a password or a password SHA-1 hash (recognized automatically), and then a list of IP addresses. These addresses are used to prevent the deletion of your posts by an administrator or a moderator (accidentally or intentionally).
Example:
ololord.js> add-superuser
Enter password:
*************
Enter superuser IP list (separate by spaces): 127.0.0.1 192.168.0.1
OK
When the superuser account is created, you may visit any page with a browser, click "Log in" button
(located in the top left corner of the page) and enter your password. After that, you will be able to delete/edit posts, close threads, see user IP addresses, etc.
Note: The passwords are stored in the database as SHA-1 hashes.
To remove a superuser, type:
remove-superuser
and enter the password or the password SHA-1 hash (recognized automatically).