| United States-English |
|
|
|
![]() |
Release Notes for HP-UX 10.30: HP 9000 Computers > Chapter 7 Other Operating System and Subsystem
Changes Commercial Security |
|
10.x commercial security replaces the shadow passwd feature with new, more stringent security features.
getspent(3C) and the related calls getspnam(3C), endspent(3C), and setspent(3C) provide SVR4-conformant programmatic read access to shadow password-like entries for each user. They can be invoked only by a process that has superuser privileges. setspent() and endspent() reset and end access to entries. getspent() returns the next entry, and getspnam() returns a particular entry based on login name. These calls allow you to port code that uses SVR4-style shadow password files for reads. There are no equivalent routines for writes. If you do not need SVR4 conformance, you can use getspwent and related routines instead, but you will need to link with libsec; see "Shadow Password Routines" in the "Compatibility with 9.x Releases" section of the Upgrading from HP-UX 9.x to 10.x manual. Commercial Security has introduced a number of changes. Once you have 10.x on your system, see the manpages for details.
(See also lckpwdf(3C) and ulckpwdf(3C) in "New libc Routines at 10.0" in Chapter 9.
Commercial Security has been modified. Once you have 10.x on your system, check the manpages for details.
getpwent(3) routines will no longer return the password, audit ID, and audit flag in the password structure. The interface remains the same, the returned structure remains the same, but the information is not returned. To obtain password and audit information, use getprpwent(3) If your 9.x trusted system has password aging, you should turn it off before upgrading to 10.01. HP-UX 10.x uses a new password aging scheme for trusted systems. If a user account has no password aging, it will automatically use the system default, which is stored in the /tcb/files/auth/system/default file. The default values are a password lifetime of 28 weeks, and an expiration time of 26 weeks. You can change these values via SAM. Users can also use SAM to set their own password aging. Individual password aging values are stored in the new 10.x protected password database, which contains a password file for each user. The aging cycle for all passwords will be restarted when you upgrade a trusted system to 10.01. The system default file does not allow null passwords. If any account has a null password, you must use SAM to provide one after you upgrade to 10.01. Use pwck -s before upgrading to 10.01 to identify potential problems in /.secure/etc/passwd. These changes affect only trusted systems; on non-trusted systems, any password aging established in /etc/passwd will remain in effect after you upgrade to 10.01. Your system will upgrade to 10.01 with security automatically turned on if the 9.x system is already secured. You will notice the following changes on 10.x (see the previous topics for more details):
For information on how these changes affect 9.x executables, see "Shadow Password Routines" in the "Compatibility with 9.x Releases" section of the Upgrading from HP-UX 9.x to 10.x manual. When you secure a 10.x system (by choosing the security option in SAM), the following will happen:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||