Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20978

[RFE] When password is changed in the WebUI, advise the user to update stored credentials for all the tools interacting with satellite (eg. hammer): Warning Message

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Hammer

      Description of problem:
      I changed the password of the admin user through the web UI. This change wasn't propagated/duplicated with the hammer authentication file in ~/.hammer/cli.modules.d/foreman.yml, producing the error:

      [root@ip-172-31-23-253 ~]# hammer user list
      Unable to authenticate user myee
      Invalid username or password.

      Version-Release number of selected component (if applicable):
      6.13.5

      How reproducible:
      always

      Steps to Reproduce:
      1. Change admin user password in the web UI.
      2. Run a hammer command like "hammer user list".

      Actual results:
      Hammer command fails.

      [root@ip-172-31-23-253 ~]# hammer user list
      Unable to authenticate user myee
      Invalid username or password.

      Expected results:
      hammer command should run.

      Additional info:
      Fix this by changing the password field in ~/.hammer/cli.modules.d/foreman.yml

            jira-bugzilla-migration RH Bugzilla Integration
            myee@redhat.com Matthew Yee
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: