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.
Bug 2014037 - There is a new login account in satellite 6.9
Summary: There is a new login account in satellite 6.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Ewoud Kohl van Wijngaarden
QA Contact: Omkar Khatavkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-14 10:50 UTC by guliu
Modified: 2022-07-05 14:30 UTC (History)
10 users (show)

Fixed In Version: foreman-installer-3.1.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:30:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33765 0 Normal New There is a new login account in satellite 6.9 2021-10-21 16:49:44 UTC
Foreman Issue Tracker 34379 0 Normal Closed Create the Pulp group as system group 2022-03-10 17:20:26 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:30:14 UTC

Description guliu 2021-10-14 10:50:39 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. In satellite 6.9
# rpm -qa|grep satellite
ansiblerole-satellite-receptor-installer-0.6.13-1.el7sat.noarch
tfm-rubygem-foreman_theme_satellite-7.0.1.7-1.el7sat.noarch
satellite-common-6.9.6-1.el7sat.noarch
satellite-installer-6.9.0.11-1.el7sat.noarch
satellite-cli-6.9.6-1.el7sat.noarch
satellite-maintain-0.0.1-1.el7sat.noarch
satellite-6.9.6-1.el7sat.noarch

2. There is new account pulp

# grep pulp /etc/passwd
pulp:x:1000:1000::/var/lib/pulp:/bin/bash

3.

Actual results:


Expected results:

whether change to "/sbin/nologin" for shell field

Additional info:

Comment 1 Ewoud Kohl van Wijngaarden 2021-10-18 09:26:32 UTC
We should also look at making it a system user. I think the biggest challenge with this is upgrading existing installations.

Comment 4 Ewoud Kohl van Wijngaarden 2021-10-21 16:49:43 UTC
Created redmine issue https://projects.theforeman.org/issues/33765 from this bug

Comment 5 Bryan Kearney 2021-11-04 13:51:39 UTC
Upstream bug assigned to ekohlvan

Comment 6 Bryan Kearney 2021-11-04 13:51:40 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33765 has been resolved.

Comment 8 Omkar Khatavkar 2022-02-02 14:27:35 UTC
[root@satellite ~]# grep pulp /etc/passwd
pulp:x:988:1000::/var/lib/pulp:/sbin/nologin

Comment 9 Omkar Khatavkar 2022-02-02 14:28:07 UTC
verified on Satellite 7 and snap7 works well

Comment 10 Ewoud Kohl van Wijngaarden 2022-02-02 14:37:22 UTC
(In reply to Omkar Khatavkar from comment #8)
> [root@satellite ~]# grep pulp /etc/passwd
> pulp:x:988:1000::/var/lib/pulp:/sbin/nologin

It is interesting to see the group id is still 1000 while I would expect < 1000. I think I forgot to mark the group as a system group. That technically wasn't part of this BZ but I consider it the same. Should we fail QA on this?

Comment 11 Ewoud Kohl van Wijngaarden 2022-02-02 14:53:50 UTC
I decided that this is a good thing regardless of this BZ so I opened https://projects.theforeman.org/issues/34379 and https://github.com/theforeman/puppet-pulpcore/pull/244.

Comment 12 Omkar Khatavkar 2022-02-03 06:35:14 UTC
@ekohlvan Thanks for noticing that I will Fail this and wait for that change to be placed in ONQA.

Comment 13 Ewoud Kohl van Wijngaarden 2022-02-07 13:35:58 UTC
Clearing Fixed in since it doesn't fix it completely.

Comment 14 Omkar Khatavkar 2022-03-22 08:35:55 UTC
# grep pulp /etc/passwd
pulp:x:988:986::/var/lib/pulp:/sbin/nologin

Working as expected the permissions are removed from 1000 to 988 and 986. Verified in Satellite 6.11 snap 14

Comment 17 errata-xmlrpc 2022-07-05 14:30:00 UTC
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 (Moderate: Satellite 6.11 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-2022:5498


Note You need to log in before you can comment on or make changes to this bug.