Patch-ID# 100527-02 Keywords: 4.0, selects, old-style, rsh Synopsis: SunOS 4.1.1;4.1.2: rsh uses old-style selects instead of 4.0 selects Date: 5/6/92 SunOS release: 4.1.1, 4.1.2 Unbundled Product: Unbundled Release: Topic: if rsh is exec'ed by a program with many open files, file desciptors can get confused BugId's fixed with this patch: 1017537, 1088518. Architectures for which this patch is available: sun3, sun4 Patches which may conflict with this patch: Obsoleted by: Files included with this patch: /usr/ucb/rsh Problem Description: Bugid: 1017537 -------------- If a process with a lot of open file descriptors exec's rsh, rsh's select() calls can get confused because they use the old 3.x-style select interface. Bugid: 1088518 -------------- An incorrect bug fix was made to patch 100527-01. This incorrect bug fix causes rsh to wrongly ignore standard input. This makes it impossible to do things like: $ cat /etc/termcap | rsh host wc -l Install Instructions: As root: cd to the appropriate release subdirectory of the patch: # cd 4.1.[12] save the existing /usr/ucb/rsh executable # mv /usr/ucb/rsh /usr/ucb/rsh.FCS copy the new rsh for the appropriate architecture to /usr/ucb # cp `arch`/rsh /usr/ucb set the permissions and setuid bit of the new rsh program # chmod 4755 /usr/ucb/rsh