Updated rsh packages that fix one bug are now available for Red Hat Enterprise Linux 5.
The rsh packages contain programs which allow users to run commands on remote machines, log in to other machines, copy files between machines (rsh, rlogin and rcp), and provide an alternate method of executing remote commands (rexec). All of these programs are run by the xinetd daemon and can be configured using the Pluggable Authentication Modules (PAM) system and configuration files in the /etc/xinetd.d/ directory.
The rshd daemon performed redundant calls of the setpwent and endpwent functions. As a consequence, rshd queried NIS servers with every rsh access. With this update, these redundant calls were removed so that rshd no longer contacts NIS servers unnecessarily.
All users of rsh are advised to upgrade to these updated packages, which fix this bug.