Generate a password for the organization's logged-in user

sfdx

  • Command-line tool for development and build automation with a Salesforce organization.
    More information: <https://developer.salesforce.com/tools/sfdxcli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sfdx force:user:password:generate --targetusername {{organization}}

click the source code to copy