Patch Name: PHCO_13733 Patch Description: s700_800 10.0X-10 passwd(1) cumulative patch Creation Date: 98/02/18 Post Date: 98/02/23 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 s800: 10.00 10.01 10.10 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_13733 Symptoms: PHCO_13733: - Wrong uid possible upon completion. - May not work with dialup password. PHCO_10273: Unable to update passwd file from NFSD client. PHCO_9640: /etc/passwd becomes empty if file system is full. PHCO_9302: - Problem with user name and audit. - File lock fails with NFSD. - Entries in /etc/passwd with the valid "nogroup" gid "-2" were changed to the illegal gid "-24". PHCO_7120: - Timestamp messages displayed with EST. - passwd file locking does not work properly - Failure: "cannot chmod ...temp". - env TZ not setup in trusted mode PHCO_6562: passwd replaces NIS passwd entry with NIS passwd.byname.map PHCO_6218: "trusted system passwd behaves incorrectly" PHCO_5941: Under trusted system mode, with a specified minimum time between password changes, superuser is not allowed to change a regular user password until the minimum time has elapsed. Defect Description: PHCO_13733: - Inadequate error checking in libc. - Not accepting /etc/d_passwd command > 8 characters. PHCO_10273: temp file for NFSD was in the wrong directory PHCO_9640: rename done even when fclose fails PHCO_9302: - Problem with user name and audit. - File lock with enforcement does not work with NFSD - The valid gid "-2" is changed to the illegal gid "-24". PHCO_7120: - Timestamp messages ignore TZ setting. - Password file write locking needs improvement. - Alternate password files can only be changed by owner. PHCO_6562: passwd replaces NIS passwd entry with NIS passwd.byname.map PHCO_6218: "trusted system passwd behaves incorrectly". PHCO_5941: Under trusted system mode the minimum time between password changes restriction is being applied to superuser as well as regular users. However, Superuser should be exempt from all password aging requirements. SR: 5003406561 4701341073 4701342055 1653170548 5003303701 4701313874 4701305052 5003275792 Patch Files: /usr/lib/nls/msg/C/passwd.cat /sbin/passwd /usr/bin/passwd what(1) Output: /usr/lib/nls/msg/C/passwd.cat: None /sbin/passwd: $Revision: 72.15.1.18 $ $Revision: 72.1 $ floor.c $Revision: 1.13 $ publickey.c 1.3 90/07/19 4.1NFSSRC Copyr 1990 Sun Mi cro PATCH/10_01 PHCO_13916 $Revision: 74.9.1.16.1.113 $ PATCH_10_01: passwd.o 98/02/18 /usr/bin/passwd: $Revision: 72.15.1.18 $ floor.c $Revision: 1.13 $ publickey.c 1.3 90/07/19 4.1NFSSRC Copyr 1990 Sun Mi cro PATCH_10_01: passwd.o 98/02/18 cksum(1) Output: 1672916445 2012 /usr/lib/nls/msg/C/passwd.cat 2025327733 456259 /sbin/passwd 898423076 90298 /usr/bin/passwd Patch Conflicts: None Patch Dependencies: s700: 10.10: PHCO_9816 PHCO_13917 s700: 10.01: PHCO_9817 PHCO_13916 s700: 10.00: PHCO_9817 s800: 10.10: PHCO_9816 PHCO_13917 s800: 10.01: PHCO_9817 PHCO_13916 s800: 10.00: PHCO_9817 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_5941 PHCO_6218 PHCO_6562 PHCO_7120 PHCO_9302 PHCO_9640 PHCO_10273 Equivalent Patches: None Patch Package Size: 600 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_13733 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_13733.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/PHCO_13733.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/PHCO_13733. 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_13733.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_13733.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None