Feature #2943
closedMake it possible to unset a host's root password
Description
If a root password is set at a the host level it is not possible to unset it without munging the database directly.
Add some way to clear the password that has been set in the host interface.
FWIW, the SQL required to clear the root password is as follows:
update hosts set root_pass = null where name = '<your host name here>';
Updated by Steve Traylen over 10 years ago
Indeed there looks to have been a regression on - http://projects.theforeman.org/issues/1392
Updated by Dominic Cleal over 10 years ago
Steve Traylen wrote:
Indeed there looks to have been a regression on - http://projects.theforeman.org/issues/1392
Yes, this happened in #2484 - a combination of password fields no longer having their current value preset in Rails (which is good for security), and then in response we changed the form not to overwrite a host's password with a blank value from the form when you edit a host. This means you can no longer deliberately reset it by deleting the value, as there is no current value - but also means users don't inadvertently reset it just by editing a host.
I think to implement this (again), we would introduce something like a checkbox to the side of the password field which you'd tick if you wanted to remove it entirely.
Updated by Dominic Cleal almost 10 years ago
- Has duplicate Bug #9417: Impossible to see / clear root password from hostgroup added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #11387: LDAP Account password cannot be empty after edit added
Updated by Amir Fefer over 9 years ago
- Status changed from New to Assigned
- Assignee set to Amir Fefer
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2632 added
- Pull request deleted (
)
Updated by Amir Fefer about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2348fc8ea209f5359f3df9350adeb197ca4842c8.
Updated by Dominic Cleal about 9 years ago
- Category set to Host creation
- Translation missing: en.field_release set to 63