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 867332 - /usr/sbin/groupmems is not setuid root
Summary: /usr/sbin/groupmems is not setuid root
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: man-pages-overrides
Version: 6.3
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Peter Schiffer
QA Contact: Iveta Wiedermann
URL:
Whiteboard:
Depends On:
Blocks: 878467 886216
TreeView+ depends on / blocked
 
Reported: 2012-10-17 10:35 UTC by Alain D D Williams
Modified: 2013-02-21 10:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: groupmems(8) manual page was missing information about setuid right of groupmems binary Consequence: incomplete documentation Fix: clarify setuid right of groupmems binary in the groupmems(8) manual page Result: complete documentation
Clone Of:
: 878467 1292820 (view as bug list)
Environment:
Last Closed: 2013-02-21 10:54:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Manual page patch (631 bytes, patch)
2012-11-19 19:04 UTC, Tomas Mraz
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0464 0 normal SHIPPED_LIVE man-pages-overrides bug fix update 2013-02-20 21:07:17 UTC

Description Alain D D Williams 2012-10-17 10:35:22 UTC
Description of problem:

Using groupmems a user should be able to change who is a member of his primary group. For this it needs to be setuid root.

The man page says ''The groupmems executable should be in mode 2770 as user root and in group groups.''

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

RedHat enterprise 6 - groupmems was not in RHE5.

Either it should be made setuid root (and its SElinux label changed to system_u:object_r:groupadd_exec_t:s0) or the manual page changed to say that it is only for use by root.

Comment 1 Tomas Mraz 2012-10-17 10:42:43 UTC
As this seriously affects system security policies we cannot change the permissions in already released major version of Red Hat Enterprise Linux. We could change it in the next major version though.

Of course changing the manpage in RHEL6 is possible.

Comment 4 Alain D D Williams 2012-11-19 17:23:26 UTC
If you do change the man page, please add a comment that it will be fixed (ie made suid root) in RHEL7. Ie accept that you are different from what it should be but not for ever --- try to prevent divergence between the different distros.

People need to be warned if it is likely to change in the future.

Comment 5 Tomas Mraz 2012-11-19 18:48:54 UTC
We still did not decide whether we want the groupmems to be setuid in Red Hat Enterprise Linux 7.

Comment 6 Tomas Mraz 2012-11-19 19:04:02 UTC
Created attachment 647951 [details]
Manual page patch

The manual page patch for RHEL-6.4 update.

Comment 13 errata-xmlrpc 2013-02-21 10:54:31 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0464.html


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