RHBA-2017:1377
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
Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC
Upstream Advisory
Affected Packages
rsh 0.17-64.el6_9.1
rsh-server 0.17-64.el6_9.1