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:
bolt-cli create-admin-accountThis 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:
bolt-cli create-customer-accountThis 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:
bolt-cli reset-admin-account-passwordThis command will interactively prompt you for:
- Admin email address
- New password
Usage Example:
$ bolt-cli reset-admin-account-password
Resetting admin account password...
Enter email: [email protected]
Enter password: ********
Admin account password reset successfullyImportant 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:
bolt-cli set-admin-passwordThe password is temporary: the panel requires the administrator to change it at first sign-in.
Warning: A password passed with
--passwordon the command line can be recorded in your shell history. Prefer the generated password, or clear the relevant history entry afterward.