Bug 1950468
Summary: | root_pass setting does not enforce minimum length of 8 characters as the host and hostgroups forms do | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Taft Sanders <tasander> |
Component: | Settings | Assignee: | nalfassi |
Status: | CLOSED ERRATA | QA Contact: | visawant |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8.0 | CC: | apatel, inecas, kgaikwad, mhulan, nalfassi, pcreech, tbrisker, vijsingh, visawant |
Target Milestone: | 6.13.0 | Keywords: | Triaged, UserExperience |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | foreman-3.4.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-03 13:20:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Taft Sanders
2021-04-16 16:58:07 UTC
Looks like unsetting a hostgroup password does not work only if the root_pass setting is set to less than 8 characters. Since we require 8 characters both in host and hostgroup, it probably makes sense to also enforce the same requirement for the setting. Moving to Settings component. Created redmine issue https://projects.theforeman.org/issues/32925 from this bug (In reply to Tomer Brisker from comment #1) > Looks like unsetting a hostgroup password does not work only if the > root_pass setting is set to less than 8 characters. Since we require 8 > characters both in host and hostgroup, it probably makes sense to also > enforce the same requirement for the setting. Moving to Settings component. I checked this on Sattelite 6.11 and this no longer happens. Meaning that the user can unset a hostgroup password (even if it's less than 8 characters). Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32925 has been resolved. Cool, thanks for the confirmation Nofar, so the fix that is delivered is actually a validation on the setting. For QE: 1) Navigate to Administer -> Settings -> Provisioning -> Root password 2) try setting a password shorter than 8 chars, it should not allow you that 3) it still must be possible to set an empty password, users may want to configure it on host group or host level 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 (Important: Satellite 6.13 Release), 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-2023:2097 |