Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

User management from the console

The start of everything about the exp:user commands in Exponential 6.0.15 - list, create, change, disable and remove user accounts, reset passwords, approve registrations, manage groups, roles, sessions and two-step…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/user-management-from-the-console/README.md

On this page

User management from the console

The exp:user commands manage the user accounts of an installation from a shell, a deploy script or a CI job. Each command does what the administration does when you click: the same operations, workflows, checks, mails and audit events. Nothing changes until you add --apply.

Use them when you look after many accounts, when you work on the server without a browser, when a script sets up an installation, or when an administrator is locked out.

Contents

  1. Start here
  2. The commands
  3. Three rules every command follows
  4. Tasks
  5. More

Start here

The commands

Every command prints all its options with --help. <user> is a login, an e-mail address (when only one account has it) or the account's id.

CommandWhat it doesPage
exp:user:list, exp:user:showfind and inspect accountsFind, create and change accounts
exp:user:create, exp:user:editcreate an account, change its address, login, names and groupsFind, create and change accounts
exp:user:disable, exp:user:enable, exp:user:deletestop an account, start it again, remove it for goodDisable, enable and remove accounts
exp:user:reset-password, exp:user:require-password-change, exp:user:check-loginpasswords and sign-in checksPasswords and sign-in checks
exp:user:pending, exp:user:approve, exp:user:resend-activationregistrations that waitApprove registrations
exp:user:groups, exp:user:roles, exp:user:whoamiuser groups, role assignments, who the console acts asGroups and roles
exp:user:sessions, exp:user:unlock, exp:user:2fasessions, locked accounts, two-step sign-in and passkeysSessions and sign-in security
exp:user:export, exp:user:import, exp:user:bulkmany accounts at onceImport, export and bulk changes
exp:user:audit, exp:user:hygienethe history of an account, the state of all accountsAudit and hygiene

Three rules every command follows

A dry run unless --apply. A command that changes something first lists what it would do and which checks fail. Add --apply to make the change. --dry-run is accepted and means the same as no flag; both together are a usage error (exit code 2).

No password on the command line. No command takes --password=..., because the shell history and the process list would keep it. A password comes from standard input (--password-stdin), is generated and printed once, or is chosen by the person through a mail.

Who acts is recorded. The commands act as the user of site.ini [UserSettings] UserCreatorID, or as the user you name with --as=<login>. The audit trail and the user audit log record that user and the siteaccess.

Protected accounts are never disabled or removed: the anonymous user, the UserCreatorID user, the administrator account (id 14 or the login admin), the user who acts and the last enabled administrator.

Tasks

TaskPage
Set up an account for a new editorOnboard a new editor
Close the access of someone who leavesOffboard someone who leaves
Work through many waiting registrationsApprove a backlog of registrations
Get an administrator back inRecover a locked-out administrator
Help someone who lost the phone with the authenticator appReset two-step sign-in after a lost phone
Create many member accounts from a spreadsheetBulk-import members from CSV

More

Next step

Find, create and change accounts.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x