Skip to content

Configuration

Nathan edited this page Oct 25, 2018 · 1 revision
{
    "admin_password": "admin",
    "admin_username": "admin",
    "host": "0.0.0.0",
    "port": 8000,
    "secret_key": "a+u?xb/:T#e-4U(#t+~N|",
    "servers": [
        "script1",
        "script2"
    ],
    "use_pam": true
}

admin_password

This is the password for the admin account if use_pam is set to false

admin_username

This is the username for the admin account if use_pam is set to false

host

This is the IP address the web panel will bind to. By default it will attempt to bind to all available addresses.

port

This is the port the web panel will use. Changing this value is required if you plan to run multiple instances of the web panel.

secret_key

This key is used by the web panel to secure sessions, you should change this as it may be possible for this to be exploited. If the config file is missing the system will generate a new config file and assign a random value.

servers

This array of script names is used to pickup the various LGSM servers. You can have as many as you want.

use_pam

This will enable linux authentication, to login to the web panel, you will need to use a local linux user. The internal admin account will also be disabled if this setting is left at true

Clone this wiki locally