Patch Name: PHCO_26962 Patch Description: s700_800 10.20 cumulative patch for shutdown(1M) Creation Date: 02/05/02 Post Date: 02/07/02 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_26962 Symptoms: PHCO_26962: shutdown(1m) exits with an error message if the user id of the user who invoked shutdown is greater than 60000. PHCO_21574: shutdown(1M) script replaced with compiled program to correct basic functionality problem. Defect Description: PHCO_26962: If shutdown(1m) is invoked by an user with user id greater than 60000, the command exits with the error message: "getpwuid: No such file or directory Unable to get username. User not allowed to shut down this system -- exiting shutdown." Resolution: The current patch is built with a libc that supports user ids upto 2147483647. PHCO_21574: Proper execution of the command is not assured when considering input variables. Resolution: Input variable is now properly initialized. SR: 8606219317 8606126826 Patch Files: /sbin/shutdown /usr/sbin/shutdown what(1) Output: /sbin/shutdown: $Revision: 78.1.1.1 $ PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 PATCH_10_20: shutdown.o localDisk.o 02/05/02 /usr/sbin/shutdown: $Revision: 78.1.1.1 $ PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 PATCH_10_20: shutdown.o localDisk.o 02/05/02 cksum(1) Output: 1760122220 339968 /sbin/shutdown 1760122220 339968 /usr/sbin/shutdown Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_21574 Equivalent Patches: PHCO_21534: s700: 11.00 s800: 11.00 Patch Package Size: 390 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. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_26962 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_26962.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_26962. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_26962.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_26962.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None