Patch Name: PHCO_27009 Patch Description: s700_800 11.11 acctdusg(1m) patch Creation Date: 02/07/30 Post Date: 02/08/02 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: Accounting.ACCOUNTNG,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHCO_27009: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27009 Symptoms: PHCO_27009: ( SR:8606230616 CR:JAGad99666 ) acctdusg(1m) without -u option, can dump core while processing files, for which the user is not the owner. Defect Description: PHCO_27009: ( SR:8606230616 CR:JAGad99666 ) When acctdusg command accesses files whose owner is not the same as the user's home directory, it dumps core. The problem can be reproduced as follows: Create a file "files" with "./abc" as its contents. $ cat files ./abc $id uid=202(vts) gid=60(ssgrp) groups=21(vts) Create a directory abc whose owner is root, group is sys, as shown below. $ls -l ./abc drwxrwxrwx 2 root sys 96 Jul 12 08:10 abc Now run acctdusg on this directory $/usr/sbin/acct/acctdusg < files Bus Error(core dump) Resolution: The acctdusg(1m) command is modified to correct this problem. SR: 8606230616 Patch Files: Accounting.ACCOUNTNG,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/acct/acctdusg what(1) Output: Accounting.ACCOUNTNG,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/acct/acctdusg: acctdusg.c $Date: 2002/07/17 14:14:06 $Revision: r11 .11/3 PATCH_11.11 (PHCO_27009) $Revision: @(#) acctdusg CUP11.11_BL2002_0730_1 PATC H_11.11 PHCO_27009 Tue Jul 30 09:32:01 PDT 2002 $ cksum(1) Output: Accounting.ACCOUNTNG,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 122269931 20480 /usr/sbin/acct/acctdusg Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 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_27009 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27009.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27009. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_27009.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27009.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27009.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None