Adding and removing users from .bog file

You can add users offline and remove users from the .bog file.

In Niagara 4.15, you can add users offline by editing the station offline and creating the new user via the User Manager, or editing the .bog file directly. However, because the encryption key is not yet available, the user password will be either only hashed or in plain text, depending on how the user was added. Once the station starts, the password will be hashed if needed and then encrypted.
Note:

The user will be disabled and an administrator must manually enable them on the Services > UserService > User property sheet.

It is recovery mechanism in case you do not have access to the encryption key. You can use it to get the station back up and running. For example, as a technical support person, it allows you to log into a station provided by a customer without having to manually delete all the users.
  1. To remove users from the .bog file, in Workbench open the BOG File Protection tool.


  2. In the BOG File Passphrase window, select the Remove all users except for one superuser. The user will use the configured password option.
  3. Enter the name of the superuser you wish to keep.
    Note: The user must exist, be assigned the role as a superuser, and use a password-based authentication scheme.
  4. Enter a new password for the superuser and click Update. It is not required to know the old password.
    All users have been removed from the .bog file, except for the specified superuser who can use the specified password.
  5. In Workbench, to save the changes, click Save Bog. Note that this will erase the existing users, so be sure to have a backup if needed.