Admin Account

This page describes how to configure the default admin account for Lenses.

When you first log in to Lenses, use the default credentials admin/admin

The default account is a super user and can be used to create groups and other accounts with appropriate permissions.

The default account username and password may be adjusted as below.

security.conf
# Lenses Administrator settings
lenses.security.user = "admin"

## For the password you can either use the plaintext
#lenses.security.password = "admin"
## Or you may use the SHA256 checksum (advised)
lenses.security.password = "sha256:8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918"

To create a SHA256 checksum for your password you can use the command line tools available in your Linux server or macOS.

unset HISTFILE # Disable history for the current terminal
echo -n "password" | sha256sum

Disabling the Admin Account

To disable the Lenses Administrator user, set an adequately long random password. You can achieve this by using the snippet below:

dd if=/dev/urandom count=1 bs=1024 | sha256sum

Last updated

Was this helpful?