You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

SuperUser

The SuperUser is a virtual user which is only used for authentication of the initial setup and configuration changes. It’s credentials are stored in the structr.conf.

It is a restricted user that can not log into the Structr backend. The SuperUser can only be used to authenticate REST requests, providing a way to interact with Structr in the case that there’s no other administrative user available. The default name of the SuperUser is superadmin.

For better security, it is recommended to deactivate the SuperUser functionality by simply removing its password (and/or username).

Credentials

The credentials of the SuperUser are stored in the structr.conf configuration file.

superuser.username = superadmin
superuser.password = <....>

Search results for "SuperUser"

Login

In order to log into the Configuration Tool, you need the superuser password stored in your structr.conf. Up until version 3.4, Structr was configured to create a secure random password on first start. In versions 3.5 and later, you must enter the superuser password when configuring Structr initially.

Superuser

superuser.name Name of the super user account.
superuser.password Password of the super user account.

structr.conf

Structr has a large number of settings that allow you to change many aspects of its behaviour. Since the configuration file only stores the difference to the default values, it initially contains only a single entry, which is the password for the Superuser.

Changelog

Key Content
verb type of changelog event (One of create, change, delete, link, unlink)
time Timestamp of the change (ms since epoch)
userId id of the user, 00000000000000000000000000000000 for SuperUser, null for anonymous
userName name of the user who triggered the modification
target id of the target node of the new or deleted relationship
relId id created/deleted relationship
rel relationship type of the created/deleted relationship
relDir relationship direction of the created/deleted relationship (in/out)
key Property key of the modified property
prev Previous value of the modified property
val New value of the modified property

structr.conf

superuser.password = ghhh38thakfqa32tsdgaa