Users

The user command group manages panel users. It is useful when someone is locked out, when you need a quick list of accounts, or when scripting account setup.

List Users

Show all panel users:

nexpanel user list

Output includes username, role, and status for each account.

Reset User Password

Reset the password for a panel user. Useful when someone is locked out and cannot recover through the panel.

Interactive Prompt

Password is hidden while you type:

nexpanel user reset-password <username>

You will be asked to enter the new password twice. Nothing is echoed to the terminal.

Inline Password

Pass the password directly on the command line:

nexpanel user reset-password <username> --password=<password>
nexpanel user reset-password <username> -p <password>

Tip

Prefer the interactive prompt over the inline flag. Command-line arguments are recorded in your shell history and can be read by other users on the system. Use the inline form only in scripts where the history is not a concern.

Notes

  • Run as root or with sudo
  • The CLI talks directly to the panel database, so changes take effect immediately
  • After a password reset, the user can log in with the new password right away
Last updated: October 10, 2026