Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
> sudo su - svc-mongo
> Last login: Fri Jan 28 16:04:57 CST 2022 on pts/0
> mesg: cannot open /dev/pts/1: Permission denied
I guess there is "mesg y" (or "mesg n") in the user's profile file.
The bugfix in rhel-8.5 has fixed "mesg" (without any option). If you call "mesg y|n" then it needs to open and modify the terminal setting, but the terminal is still owned by the root user. This is impossible to fix.
Example:
# su - kzak
Last login: Tue Feb 15 03:50:00 EST 2022 on pts/0
$ mesg
is y
$ mesg y
mesg: cannot open /dev/pts/0: Permission denied
$ rpm -qf /bin/mesg
util-linux-2.32.1-32.el8.x86_64
This is expected behavior.
Note that since util-linux v2.7 (RHEL-9) it will be possible to use "su --pty" to create a new terminal owned by the user.
> sudo su - svc-mongo > Last login: Fri Jan 28 16:04:57 CST 2022 on pts/0 > mesg: cannot open /dev/pts/1: Permission denied I guess there is "mesg y" (or "mesg n") in the user's profile file. The bugfix in rhel-8.5 has fixed "mesg" (without any option). If you call "mesg y|n" then it needs to open and modify the terminal setting, but the terminal is still owned by the root user. This is impossible to fix. Example: # su - kzak Last login: Tue Feb 15 03:50:00 EST 2022 on pts/0 $ mesg is y $ mesg y mesg: cannot open /dev/pts/0: Permission denied $ rpm -qf /bin/mesg util-linux-2.32.1-32.el8.x86_64 This is expected behavior. Note that since util-linux v2.7 (RHEL-9) it will be possible to use "su --pty" to create a new terminal owned by the user.