Patch Name: PHNE_3066 Patch Description: s300_400 9.0 Fixes to on(1) and rexd(1m) This patch fixes the following problems: The HP-UX 9.0 version of on does not set LINES/COLUMNS to a reasonable default if it can't determine the real window size. The rexd daemon, rpc.rexd, doesn't restore pty permissions on exit. This can cause other commands such as script(1) to have trouble with a pty used by on. The on cmd doesn't handle LINES/COLUMNS correctly to machines running other than HP-UX 8.07, HP-UX 9.0 and HP-UX 9.01. Also the rexd daemon does not set LINES/COLUMNS correctly if an on is done from a machine running other than the above releases. Note that this fix will make the LINES/COLUMNS work correctly with older versions of HP-UX and other vendor's machines, but it will not work correctly with other HP-UX 8.07, HP-UX 9.0 and HP-UX 9.01 systems unless they have had the corresponding patches installed. The problem is in the transmission of the LINES/COLUMNS values to the remote machine and both machines must have the same idea of how this is done. Equivalent patches are: S700 9.01 PHNE_2367, S700 8.07 PHNE_2366, and S800 9.00 PHNE_2368 This patch will not install correctly if on or rpc.rexd is running during patch installation. Patch installation will also fail on a diskless cluster if any of the clients are running on or rpc.rexd. Path Name: /hp-ux_patches/s300_400/9.X/PHNE_3066 Effective Date: 930901 Patch Files: /usr/bin/on /usr/etc/rpc.rexd SR#: 1653046029 1653030569 "what" string/timestamp: on: on.c: $Revision: 1.27.109.2 $ $Date: 93/09/02 09:13:36 $ PATCH_9.0: on.o $Revision: 1.27.109.2 $ 93/09/01 PHNE_3066 rex_xdr.c: $Revision: 1.5.109.2 $ $Date: 93/09/02 09:24:58 $ PATCH_9.0: rex_xdr.o $Revision: 1.5.109.2 $ 93/09/01 PHNE_3066 rpc.rexd: rpc.rexd: $Revision: 1.47.109.3 $ $Date: 93/09/02 09:09:41 $ PATCH_9.0: rexd.o $Revision: 1.47.109.3 $ 93/09/01 PHNE_3066 PATCH_9.0: unix_login.o $Revision: 1.24.109.3 $ 93/09/01 PHNE_3066 rex_xdr.c: $Revision: 1.5.109.2 $ $Date: 93/09/02 09:24:58 $ PATCH_9.0: rex_xdr.o $Revision: 1.5.109.2 $ 93/09/01 PHNE_3066 "sum" output: 21656 40 on 48829 65 rpc.rexd Dependencies: None Supersedes: None Patch Package Size: 93 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHNE_3066). To install this patch do the following: 1) Run /etc/update (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHNE_3066.updt" (this assumes that you are in the /tmp directory where PHNE_3066.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHNE_3066/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHNE_3066.text file to /system/PHNE_3066 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHNE_3066.updt of=/dev/rmt/0m bs=2048