RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1872562 - Show motd message only to root/wheel users
Summary: Show motd message only to root/wheel users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.4
Assignee: Allison Karlitskaya
QA Contact: Jan Ščotka
URL:
Whiteboard:
: 1996639 (view as bug list)
Depends On: 1861640
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-26 05:24 UTC by Martin Pitt
Modified: 2021-08-25 13:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:06:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Pitt 2020-08-26 05:24:07 UTC
Description of problem: It does not make much sense to show the motd message "Do this to enable cockpit" to non-administrators. Event the "go here to access cockpit" message is of questionable value for non-admins, as cockpit doesn't allow you to do much (it may still be useful for monitoring, though).

Change the /run/cockpit/*motd permissions so only root:wheel can read them. This does not actually have an effect with current PAM, that still needs to be fixed -- see bug 1861640.


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

cockpit 225

Comment 3 Martin Pitt 2020-11-11 09:01:36 UTC
Being fixed in https://github.com/cockpit-project/cockpit/pull/14856

Comment 10 errata-xmlrpc 2021-05-18 15:06:39 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 (cockpit bug fix and enhancement update), 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/RHBA-2021:1684

Comment 11 Martin Pitt 2021-08-25 13:50:13 UTC
*** Bug 1996639 has been marked as a duplicate of this bug. ***


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