Skip to content

robin users

Manage GUI user accounts, roles, and research-use consent status.

User and audit data are stored in SQLite at ~/.config/robin/security.db (or %APPDATA%\robin\security.db on Windows).

First-time setup

Create the first admin account explicitly:

robin password set

Or:

robin users bootstrap-admin

Or import the existing single-password hash from a prior ROBIN install:

robin users bootstrap-admin --from-legacy-hash

This creates user admin with the same password as before.

Then sign in to the GUI with username + password (not password alone).

Temporary passwords and first sign-in

When an administrator creates an account or resets a password (robin users create, robin users set-password, or the GUI Administration page), ROBIN stores a temporary password. On the user's first GUI sign-in with that password, they are sent to Change password and cannot use the rest of the app until they choose a new one.

  • robin users bootstrap-admin does not set this flag — the first admin can keep their chosen password.
  • Signed-in users can change their password anytime from the menu: Change password (current password required unless a change is still mandatory).

User commands

Command Purpose
robin users bootstrap-admin Create the first admin account
robin users create <username> [--role admin\|user] Add a user (must change password on first GUI sign-in)
robin users set-password <username> Reset a user's password (user must choose a new password on next sign-in)
robin users list List accounts
robin users activate <username> Re-enable a deactivated account
robin users deactivate <username> Disable login (cannot remove last active admin)
robin users grant-role <username> <admin\|user> Assign a role
robin users revoke-role <username> <admin\|user> Remove a role
robin users consent-status [--version v1] Show who has accepted the active consent version

Research-use agreement acceptance is recorded per user at login. The active version defaults to v1 and can be overridden:

export ROBIN_CONSENT_VERSION=v2

When the version changes, each user must accept again on next login. Acceptance is stored in the consents table and logged as consent.accepted in the audit trail.