Patch Name: PHCO_21093 Patch Description: s700_800 10.X Year 2000 lastlogin patch Creation Date: 00/02/28 Post Date: 00/03/10 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Products: N/A Filesets: Accounting.ACCOUNTNG Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_21093 Symptoms: PHCO_21093: The last login date is not updated for year 2000. Defect Description: PHCO_21093: 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: /usr/sbin/acct/lastlogin what(1) Output: /usr/sbin/acct/lastlogin: $Revision: 72.2.1.1 $ cksum(1) Output: 3341785305 1968 /usr/sbin/acct/lastlogin Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_21094: s700: 11.00 s800: 11.00 Patch Package Size: 60 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_21093 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_21093.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_21093. 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_21093.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_21093.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None