Skip to content

User Management Commands

These commands help you manage customer accounts in the AdminBolt system.

bolt-cli create-admin-account

Creates a new administrator account in the system.

Example:

bash
bolt-cli create-admin-account

This command will prompt you for the necessary information to create a new admin account, including:

  • Admin name
  • Email address
  • Password

The command prevents the creation of duplicate admin accounts with the same email address.

bolt-cli create-customer-account

⚠️ Not available in the current version - this command is not present in the current CLI. Kept for reference.

Creates a new customer account in the system.

Example:

bash
bolt-cli create-customer-account

This command will prompt you for the necessary information to create a new customer account, including:

  • Customer name
  • Email address
  • Password
  • Account type and permissions

After successfully creating a customer account, you'll be able to manage the account's hosting subscriptions, domains, and other settings through the AdminBolt interface.

bolt-cli reset-admin-account-password

Resets the password for an existing administrator account.

Example:

bash
bolt-cli reset-admin-account-password

This command will interactively prompt you for:

  1. Admin email address
  2. New password

Usage Example:

bash
$ bolt-cli reset-admin-account-password
Resetting admin account password...
Enter email: [email protected]
Enter password: ********
Admin account password reset successfully

Important Notes:

  • The command verifies the admin account exists before attempting the password reset
  • An error message is displayed if the admin account is not found
  • Passwords are securely hashed before storage
  • Password input is hidden for security

bolt-cli set-admin-password

Sets the password for the administrator account. The administrator login is always admin. This command is intended for unattended installations, where you set the admin password without using the one-time SSO login URL.

Options:

  • --password: The password to set. When omitted, the command generates a strong 20-character password and prints it to stdout.

Example:

bash
bolt-cli set-admin-password

The password is temporary: the panel requires the administrator to change it at first sign-in.

Warning: A password passed with --password on the command line can be recorded in your shell history. Prefer the generated password, or clear the relevant history entry afterward.