Accounts and remote access

On this page

Without accounts the app behaves as before and listens on this machine only. Once the first account exists, the web page and the API always require signing in, including the desktop window.

Creating accounts

Add them under "Accounts" in the Settings tab, or on a machine without a screen:

raubot-lm user add admin
raubot-lm user add amy

User names may contain letters, digits and . _ - @; they cannot start or end with a dot, contain two dots in a row, or be a reserved system name such as CON or NUL. Older accounts with such a name (except the first account) can no longer sign in; delete and recreate them.

Passwords need at least 10 characters. The first account is always an administrator and takes over the existing chats, voices and gallery.

Roles

RoleWhat it can do
AdministratorEverything
UserChat, images, video, speech, transcription and the API; run published flows. The roles below can be added

An administrator ticks roles under "Permissions" next to a user in the account list of the Settings tab. An account can have several.

RoleWhat it addsLicense
Flow designerMake flow drafts, test them and submit them for reviewAll editions
Flow managerReview, publish and delete flows, choose the flows chat usesAll editions
Model managerModels, downloads, enginesAll editions
OperatorModels, downloads, engines, clusterTeam and up
Account managerAdd and manage usersTeam and up
AuditorRead the records, including contentTeam and up

Enterprise can also tick individual permissions: design flows, publish flows, models, engines, cluster, accounts, system security (remote access, Hugging Face token, debug reports), license, view records and view recorded content.

  • Only administrators can touch the local API key, AD / LDAP settings and program updates, set the engine download proxy, push update files to workers, and add a network path (\\host\share) as a model library.
  • An account manager can only manage non-administrator accounts whose permissions are within their own, and cannot change their own permissions.
  • When a license expires or is downgraded, roles above the edition pause and come back after it is activated again.

Command line: raubot-lm user grant amy --template model_admin; with no options everything is cleared. Role names: flow_designer, flow_manager, model_admin, operator, account_admin, auditor.

Chats, voices, gallery and running jobs are separate per account.

Two-step verification and passkeys

In the Settings tab after signing in:

  • Two-step verification: scan the QR code with an authenticator app. The recovery codes are shown only once. Turning it on asks for your current password, and so does removing a passkey or personal API key.
  • Passkeys: adding one asks for your password again. Sign in with fingerprint, face, PIN or a security key. Browsers require the page to be opened by host name (or localhost) over trusted HTTPS, so passkeys are not available with an IP address or a self-signed certificate.

Several wrong passwords in a row pause sign-in for a minute.

Personal API keys

Create them in the Settings tab (your password is asked again) and send them as Authorization: Bearer <key>. Data and features follow the account, but a key cannot manage accounts, secrets, the license, remote access or debug reports; sign in for those. A key can view, but cannot change, the cluster, model groups, engines, model libraries or program updates, and cannot delete models. Scripts that need to do so use the global key (it equals an administrator, so keep it safe).

When an administrator resets a password, that account's keys and passkeys are removed too.

Connecting from other computers

Two ways, which can be combined. Both need an account first.

Built-in HTTPS (LAN and VPN addresses only):

raubot-lm remote https 0.0.0.0:3443

Without a certificate a self-signed one is used and the browser warns. To use your own: --cert cert.pem --key key.pem. Restart the app afterwards and allow the port through the firewall.

Reverse proxy (nginx, Caddy, IIS and so on): the app keeps listening locally. Forward to 127.0.0.1:3456, keep the original Host, and tell the app the proxy's host name:

raubot-lm remote proxy llm.example.com

The proxy should serve HTTPS.

To turn them off: raubot-lm remote https off, raubot-lm remote proxy.

Bot protection at sign-in

Optional. Cloudflare Turnstile keeps automated password guessing away from the web sign-in page. You need your own domain name; a page opened by IP address cannot be checked.

  1. In your own Cloudflare account, open Turnstile, create a widget and add your domain.
  2. On the Settings tab, under the bot protection card, enter the domain names, the site key and the secret key, tick "Turn on" and save. Only administrators see this card.

Once it is on:

  • Signing in through the domain name requires passing the check. Calls made with API keys are not affected.
  • The screen opened directly on this computer (the desktop window, http://127.0.0.1:3456) is not checked.
  • People connecting by IP address cannot pass it; use the domain name instead.
  • If the check itself stops working (the secret key is no longer valid, or this host cannot reach Cloudflare), only administrators, including the AD/LDAP administrator group, can sign in.
  • If the verification box does not appear (for example the domain was not added to the widget), open the screen directly on this computer to fix it, or edit data/turnstile.json and set "enabled" to false. The change applies immediately.
  • A reverse proxy must keep the original Host; otherwise the program cannot tell whether a connection comes from this computer.

AD / LDAP sign-in

Enterprise license. Fill in "AD / LDAP sign-in" in the Settings tab, or:

raubot-lm ldap set --url ldaps://dc.example.com --bind "{user}@example.com" --base "DC=example,DC=com" --filter "(sAMAccountName={user})" --admin-group "CN=llm-admins,OU=Groups,DC=example,DC=com" --user-group "CN=llm-users,OU=Groups,DC=example,DC=com"

For OpenLDAP: --bind "uid={user},ou=people,dc=example,dc=com" --filter "(uid={user})".

  • The connection must be encrypted (ldaps://, or ldap:// with --starttls), and this machine must trust the server certificate.
  • Only direct group members count.
  • You can also name "role groups": members get that role when they sign in, while who can sign in is still decided by the administrator and user groups. Command line: --role-group "operator=CN=llm-ops,OU=Groups,DC=example,DC=com", repeatable. Roles are refreshed at the next password sign-in.
  • Local accounts take precedence over directory users with the same name. Keep at least one local administrator for when the directory is unreachable.
  • Directory accounts cannot use passkeys, and a sign-in lasts at most 24 hours before the password is needed again.
  • If a directory account has not signed in with its password for 7 days, its personal API keys pause until it signs in again. Delete the account when someone leaves.
  • Turning directory sign-in off immediately invalidates every directory sign-in and key.

Forgotten passwords

On the host, from the command line:

raubot-lm user password amy
raubot-lm user reset2fa amy
raubot-lm user list
raubot-lm user remove amy

If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.