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.
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.
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.
We still did not decide whether we want the groupmems to be setuid in Red Hat Enterprise Linux 7.
Created attachment 647951 [details]
Manual page patch
The manual page patch for RHEL-6.4 update.
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.