Enabling Single User

LogScale's single-user authentication mode provides a basic password-protected login system using a default username 'user', offering a quick way to get started with enhanced security compared to no authentication. While simple to implement through configuration settings, this method stores passwords in clear text and is recommended only for non-production environments, with multi-user authentication being the preferred choice for production systems.

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:

ini
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.