Enabling Single User
Single-user authentication is an easy way to get started with LogScale,
but with added security compared to the no-authentication mode, in that
you need a password to log in to LogScale. The default login username is
user
.
Be advised that the password is stored in clear-text in the LogScale
configuration file. As a result, anyone with read permissions to that file
will have access to the password. The single-user authentication method is
meant as a quick way to get started. However, for productions systems you
should use some of the Multi-User
Authentication methods. See AUTHENTICATION_METHOD
for all authentication method options.
To start LogScale in single-user mode you need to specify the following two configuration settings:
AUTHENTICATION_METHOD=single-user
SINGLE_USER_USERNAME=myuser
SINGLE_USER_PASSWORD=mypassword
You log in with the user account and the password specified in
SINGLE_USER_USERNAME
and
SINGLE_USER_PASSWORD
in the configuration file.
Some restrictions apply when running with single-user
as the AUTHENTICATION_METHOD
:
Starting on a machine that already has multiple users will not delete them, but you will be unable to create additional users.
Running
AUTHENTICATION_METHOD=single-user
with multiple users will pick the best candidate based on username and privilege.