Patch Name: PHSS_17796 Patch Description: s700_800 10.26 X login/logout do not log for last(1) Creation Date: 99/03/03 Post Date: 99/03/08 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: BLS.BLS-CORE CMW.CMW-CORE Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_17796 Symptoms: PHSS_17796: When logging in via xdm, no record of the session is made. This causes last(1) and lastb(1) to be inaccurate. Defect Description: PHSS_17796: The X authentication process does not log successful and unsuccessful login attempts for use by last(1) and lastb(1). Resolution: Modify Xstartup and Xreset scripts to log sucessful login and logout. SR: 0000000000 Patch Files: /usr/bin/X11/sessreg /usr/newconfig/usr/lib/X11/xdm/Xreset /usr/newconfig/usr/lib/X11/xdm/Xstartup what(1) Output: /usr/bin/X11/sessreg: 99/03/02 x11r6/clients/xdm/sessreg.c, xclients, hpux _10.26, ic5bc Revision 1.2 PATCH_10.26 (PHSS _17796) X Window System, Version 11 HP-UX 10.0 SRC_IC3 R5+ (build date: Tue Mar 2 23:50:51 PST 1999) 1999/03/02 Hewlett-Packard HP-UX 10.26 TOS [ ic5bc - DAV17 ] /usr/newconfig/usr/lib/X11/xdm/Xreset: 99/03/02 x11r6/clients/xdm/config/Xreset, xclients, hpux_10.26, ic5bc Revision 1.2 Hewlett Packa rd Co. $Revision: SecureWare 1.3 x11r5/clients/xdm/config/X reset, xdm, hpux_mlpmp, mlpmp6 $ $Date: 95/0 8/16 14:56:23 $ 99/03/02 x11r6/clients/xdm/config/Xreset, xclients, hpux_10.26, ic5bc Revision 1.2 PATCH_10.26 ( PHSS_17796) /usr/newconfig/usr/lib/X11/xdm/Xstartup: 99/03/02 x11r6/clients/xdm/config/Xstartup, xclients , hpux_10.26, ic5bc Revision 1.3 Hewlett Pac kard Co. $Revision: SecureWare 1.11 x11r5/clients/xdm/config/ Xstartup, xdm, hpux_mlpmp, mlpmp6 $ $Date: 9 5/08/16 14:56:29 $ 99/03/02 x11r6/clients/xdm/config/Xstartup, xclients , hpux_10.26, ic5bc Revision 1.3 PATCH_10.26 (PHSS_17796) cksum(1) Output: 4221044061 16384 /usr/bin/X11/sessreg 2461512433 763 /usr/newconfig/usr/lib/X11/xdm/Xreset 1722174531 4062 /usr/newconfig/usr/lib/X11/xdm/Xstartup Patch Conflicts: None Patch Dependencies: s700: 10.26: PHNE_17797 s800: 10.26: PHNE_17797 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 80 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 PHSS_17796 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_17796.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_17796.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_17796. 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 PHSS_17796.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/PHSS_17796.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: The pre-patch versions of /usr/lib/X11/xdm/Xreset and Xstart are moved to /usr/newconfig/usr/lib/X11/xdm If you have made any modifications to these files, please merge them with the new versions. You must log off the console for this change to take effect.