Skip to content
This repository was archived by the owner on Aug 6, 2022. It is now read-only.

I.6. Superuser account

Andrey Bogdanov edited this page Feb 24, 2016 · 7 revisions

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 Login 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).

Clone this wiki locally