Actions
Bug #20919
closedkatello-change-hostname silently fails when there are special (shell) chars in the password
Difficulty:
easy
Triaged:
Description
Hi,
my admin password is change$me, so I call
katello-change-hostname katello.example.com -u admin -p 'change$me'
However, this seems not to be passed correctly while calling hammer, as the password is not quoted:
… Updating default Foreman Proxy Invalid username or password … **** Hostname change complete! ****
And there is a new proxy added, instead of being updated:
# hammer capsule list [Foreman] Password for admin: ---|----------------------------------------|-----------------------------------------------------|-------------------------- ID | NAME | URL | FEATURES ---|----------------------------------------|-----------------------------------------------------|-------------------------- 1 | centos7-katello-3-4.kangae.example.com | https://centos7-katello-3-4.kangae.example.com:9090 | Pulp, TFTP, Puppet, Pu... 2 | katello.example.com | https://katello.example.com:9090 | Pulp, TFTP, Puppet, Pu... ---|----------------------------------------|-----------------------------------------------------|--------------------------
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-packaging/pull/526 added
Updated by Evgeni Golov about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-packaging|ece3dc6f2cda95011b72a39cbba69f8c13bb601e.
Updated by Justin Sherrill about 7 years ago
- Translation missing: en.field_release set to 250
Actions