GalahUser guide · Black Squeak Systems v2.2.2 blacksqueak.com
Getting started

Signing in and users

Everyone signs in to the control panel. Each person has their own account, belongs to one or more groups, and can do only what their permissions allow.

The first sign-in#

The first time Galah starts it creates admin with a one-time password, and the vendor support account. The passwords are:

  • written to initial-admin-password.txt next to the settings file (readable by the account Galah runs as, and nobody else),
  • printed in the window or terminal Galah started in, and noted in the log (the log says where the file is, not the password).

Open the control panel, sign in as admin with that password and choose your own. Until you do, Galah lets you do nothing else. When you have chosen it, Galah deletes initial-admin-password.txt itself, so note the vendor support password first if you will need it (you can always make a new one).

If you installed with install-service.sh on Linux, the file is /var/lib/galah/initial-admin-password.txt and the script prints it at the end.

The sign-in screen.
The sign-in screen.
Anyone with a one-time password chooses their own before going on.
Anyone with a one-time password chooses their own before going on.

Lost the administrator password? On the Galah computer run galah --reset-password admin (with the same --config as usual). It prints a new one-time password and exits; restart Galah. Use another user name to make a new administrator.

Signing in and out#

Every browser signs in once and stays signed in while the page is open or used within the idle time (12 hours unless the sign-in policy says otherwise). Your name is shown at the top right; click it to change your password or sign out. Changing your password signs out your other browsers.

The account menu.
The account menu.

Five wrong passwords for one user name from one address lock that name out at that address for 30 seconds, then longer each time (up to 15 minutes); ten wrong passwords from one address, for any names, lock the address out. An address can have only two sign-ins in progress at once. When one user name gets many wrong passwords from different addresses, each try on it is slowed down rather than locked, so an attacker cannot lock a real user out. The sign-in screen says how long to wait.

Permissions#

What a person may do is made of eight permissions:

PermissionAllows
ViewSee the Rack, embedders, sources, SRT outputs, multiview, previews, meters, the media library and recordings. Without it a person can sign in but sees nothing.
OperateSwitch embedders on and off, restart them, start and end of broadcast, start and stop recording, lip-sync measuring and trimming, and test remote-control commands.
Configure embeddersAdd, change, duplicate, reorder and delete embedders (inputs, channel map, processing, backup, slates, SRT, recording set-up), processing presets and the multiview.
Media libraryUpload and delete images and videos.
General settingsStation name, audio channels, meters, Livewire interface, NDI® and OMT settings, syslog.
System administrationStop and restart the server; web port, address and HTTPS; LWRP; the remote-control key; the ffmpeg path and the media and recordings folders; recording folders and media outside the library; downloading the settings file.
Users and securityThe Users page: users, groups, API tokens, sessions and the sign-in policy.
LogsThe Logs page and the log API, including the audit trail.

The control panel shows only what a person may use: pages they cannot open are left out of the menu, and controls they cannot use are greyed out (hover for the permission needed). Galah checks every request itself, so the same rules apply to the HTTP API.

An operator's view of an embedder: Enabled, Restart and lip-sync work; the set-up is read-only.
An operator's view of an embedder: Enabled, Restart and lip-sync work; the set-up is read-only.

Groups#

Permissions are normally set on groups, and people are put in groups. Four groups are predefined:

GroupPermissions as delivered
AdministratorsEvery permission, always. This group cannot be changed or deleted.
EngineersView, Operate, Configure embedders, Media library, General settings, Logs.
OperatorsView, Operate, Logs.
ViewersView.

Engineers, Operators and Viewers can be changed to suit your station but not deleted. Add your own groups with + Add group on the Groups tab: give the group a name and description and tick its permissions. Changing a group changes the permissions of everyone in it at once, including people who are signed in.

Users → Groups.
Users → Groups.
A group of your own with the permissions ticked.
A group of your own with the permissions ticked.

Users#

Users → Users: each person's groups, resulting permissions, status and last sign-in.
Users → Users: each person's groups, resulting permissions, status and last sign-in.

Open Users in the menu (it needs the Users and security permission) and click + Add user:

  1. User name and full name

    User names are 1-32 letters, digits and . _ - @, and cannot be changed later.

  2. Password

    Type one, or leave it blank and Galah makes a one-time password and shows it once. Either way the person chooses their own at first sign-in unless you untick that.

  3. Groups

    Tick one or more. A person in several groups has the permissions of all of them.

  4. Permissions for this user

    Normally As groups. Choose Allow to give this one person an extra permission, or Deny to take one away that their groups would give. A deny always wins. The Result line shows what the person will be able to do.

Tam is in Night shift, but Media library is denied for Tam alone.
Tam is in Night shift, but Media library is denied for Tam alone.

To stop someone signing in, edit them and tick Disabled: they are signed out at once and their API tokens stop working. Delete removes the account. You cannot disable, delete or remove the user-management permission from your own account, and Galah always keeps at least one enabled user with both Users and security and System administration (the vendor support account does not count).

People with Users and security but not every permission can manage users only within their own permissions: they can give only permissions they have themselves, and cannot change, disable, delete or sign out a user, or change a group, that has permissions they lack. So a help-desk group can add operators and viewers but cannot make anyone an administrator.

Vendor support account#

Galah has one more account, blacksqueak-support (Black Squeak Systems support), so that Black Squeak Systems can sign in and help you when you ask for support. It is created on a new install, and the first time Galah 1.9.1 or later starts on an existing install.

The vendor support account: enable or disable it, or give it a new password.
The vendor support account: enable or disable it, or give it a new password.

API tokens#

Scripts, monitoring systems and other programs that use the HTTP API (documented in your Black Squeak account for organisations with an API licence) sign in with an API token instead of a password. On the API tokens tab click + New token, name it, choose the user it acts as, tick what it may do and when it expires (90 days unless you choose otherwise). The token is shown once; copy it then. A token can never do more than its user, and at most what you ticked.

A read-only monitoring token.
A read-only monitoring token.
Users → API tokens: revoke a token to stop it at once.
Users → API tokens: revoke a token to stop it at once.

Remote control from Pathfinder or Companion does not use accounts: it uses the remote-control key (see Remote control).

Sessions#

The Sessions tab lists every browser that is signed in: who, from which address, which browser and when it was last seen. Sign out ends one.

Users → Sessions.
Users → Sessions.

Sign-in policy#

Users → Sign-in policy.
Users → Sign-in policy.
SettingDefaultWhat it does
Shortest password10Minimum length (8-64). Passwords may not contain the user name; very common passwords are refused.
Sign out after idle720 minutesA browser that sends no request for this long is signed out. An open control panel page keeps its session alive, so a wall display stays signed in.
Sign out after0 (no limit)Hours after signing in when a session ends regardless. Set it (for example 12) where shared computers are used.

Audit trail#

Every change made through the control panel or the API is logged with who made it, from which address and the result, for example jsmith from 10.1.2.40: POST /api/embedders/e1/eob -> 200. Refused requests, sign-ins, failed sign-ins and changes to users and groups are logged too. These lines are under the sources audit and security on the Logs page and are sent to syslog when that is on. They are also added to audit.log next to the settings file, which keeps them across restarts (readable by the owner only; at 10 MB it is renamed audit.log.1, and five old files are kept). Requests refused because nobody was signed in are counted and summarised once a minute. Control characters in what people type (a user name, for example) are shown as \n, \x1b and so on, so no one can add false lines to the log.