Actions
Bug #23996
closedHammer ask for password though -p option when user changing current password
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1580327
Description of problem: Though -p option passed to hammer, it will prompt user for password.
Version-Release number of selected component (if applicable):
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.
Updated by Tomáš Strachota over 6 years ago
- Subject changed from Hammer ask for password though -p option when user changing current password to Hammer ask for password though -p option when user changing current password
Btw it's possible to use the password from -p only when --login == the current user from -u or settings. It's not always the case. Admin users can change passwords of other users too.
Updated by Tomáš Strachota over 6 years ago
- Category changed from Other commands to Users and roles
Updated by Aditi Puntambekar over 6 years ago
- Assignee set to Aditi Puntambekar
- Triaged set to No
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/371 added
Updated by Aditi Puntambekar about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|11ffa5de3d21d022c4f8771ad973d517a394cb6c.
Updated by Martin Bacovsky about 6 years ago
- Fixed in Releases hammer-cli-foreman-0.13.2, hammer-cli-foreman-0.14.0 added
Actions