Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Satellite host groups require an 8 character minimum password setting. Satellite settings > Provisioning > root_pass, has no minimum requirement.
Version-Release number of selected component (if applicable):
satellite-6.8.6-1
How reproducible:
every time
Steps to Reproduce:
1. Create a host group and set a password of fewer than 8 characters
2. Set a password in the Satellite settings > Provisioning > root_pass, of less than 8 characters
3.
Actual results:
Host group can't have a password of fewer than 8 characters
Expected results:
Host group root password minimum requirements should match that of the Satellite settings
Additional info:
A user is also not able to unset a password in a host group to allow for use of the default password from Satellite settings > Provisioning > root_pass
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.
(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).
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