View the latest documentation 5.4
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.
We strongly recommend that you change the default password. If you don’t, you will be prompted with a dashboard notification:
Follow the configuration instructions to change the password in a secure way or completely disable the admin account.
The default account username and password may be adjusted as below. For security
purposes it is strongly advised to use your password’s SHA256 checksum instead of the plaintext.
# 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
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