Patch Name: PHCO_21094 Patch Description: s700_800 11.00 Year 2000 lastlogin patch Creation Date: 00/02/21 Post Date: 00/03/10 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: Accounting.ACCOUNTNG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_21094 Symptoms: PHCO_21094: The last login date is not updated for year 2000. Defect Description: PHCO_21094: lastlogin script is invoked by runacct(1M) to update loginlog which shows the last date on which each user has logged in. But loginlog is not updated properly if the user logs in year 2000 and he last logged in year 1999. Resolution: Sorting of year field is done after converting current two digit year format to four digit year.Before writing the records to loginlog convert back the year field's four digit format to two digits. SR: 1653252072 Patch Files: Accounting.ACCOUNTNG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/acct/lastlogin what(1) Output: Accounting.ACCOUNTNG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/acct/lastlogin: $Revision: 72.2.1.1 $ cksum(1) Output: Accounting.ACCOUNTNG,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3341785305 1968 /usr/sbin/acct/lastlogin Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_21093: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Patch Package Size: 20 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_21094 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_21094.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_21094. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_21094.depot 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_21094.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_21094.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_21094.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None