Project

General

Profile

Actions

Bug #23996

closed

Hammer ask for password though -p option when user changing current password

Added by Ivan Necas over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users and roles
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
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.

Actions #1

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.

Actions #2

Updated by Tomáš Strachota over 6 years ago

  • Category changed from Other commands to Users and roles
Actions #3

Updated by Aditi Puntambekar over 6 years ago

  • Assignee set to Aditi Puntambekar
  • Triaged set to No
Actions #4

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
Actions #5

Updated by Aditi Puntambekar about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

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

Also available in: Atom PDF