Description of problem: Though -p option passed to hammer, it will prompt user for password.
Version-Release number of selected component (if applicable):
# rpm -q satellite
satellite-6.4.0-7.beta.el7sat.noarch
# rpm -qa | grep hammer
tfm-rubygem-hammer_cli-0.13.0-1.el7sat.noarch
How reproducible: always
Steps to Reproduce:
1. # hammer -u admin -p <current_password> user update --login admin --password '<new-password>'
Enter user's current password:
User [admin] updated.
Actual results: User prompted with
Enter user's current password:
though -p option is set.
Expected results: Should not ask again for user's current password if -p option is set.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:2927