Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1673

useradm --set-password

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      We need a quick way to reset users' passwords, especially in MT.
      Today we already use useradm to create user in getting started, using useradm --create-user ...

      The proposal is to extend useradm to also support --set-password on an existing account. For example, for MT installations it would look like

      noformat
      useradm set-password --tenant-id=7a0331439d5bd3034622b562 --username=myusername@example.com --password=mysecretpassword2
      noformat

      Acceptance criteria

      • useradm has a new option --set-password that works on existing user accounts
      • it takes an option --username
      • for MT installations it takes an additional option --tenant-id (the tenant/organization)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pprzybylak Piotr Przybylak
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel