RHBA-2017:1377

Type: Bug fix
Severity: None
Published: 2017-05-30
Red Hat Enterprise Linux 6

The rsh packages contain programs which allow users to run commands on remote machines (the rsh utility), log on to other machines (the rlogin utility), copy files between machines (the rcp utility), and programs which provide an alternate method of executing remote commands (the rexec utility). All of these programs are run by the xinetd service and can be configured using the Pluggable Authentication Modules (PAM) system and configuration files in the /etc/xinetd.d/ directory. This update fixes the following bug: * Previously, using the rlogin utility to log to a remote machine, the connection was closed on the remote side most of the time. This was caused by the forkpty() function which combines the openpty(), fork(), and login_tty() functions. When the child process handling the connection executed /bin/login, all open file descriptors got closed. This bug has been fixed, and now openpty(), fork(), and login_tty() are used separately instead of forkpty(). As a result, if needed, the parent process keeps the file descriptor of the child process open. (BZ#1450821) Users of rsh are advised to upgrade to these updated packages, which fix this bug.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T23:03:15.203Z UTC. Last updated 2026-10-07T06:03:03.187Z UTC.

Upstream Advisory

Affected Packages

  • rsh 0.17-64.el6_9.1

  • rsh-server 0.17-64.el6_9.1

Interested in being alerted when there are new versions of rsh and the other packages? Set up an alert.
RHBA-2017:1377: rsh bug fix update | Package Alert