UNIX platforms and features which npasswd is known to support:
UNIX platform | Supported features |
---|---|
SunOS 5 (Solaris 2) |
Shadow passwords NIS passwords |
SunOS 4 (Solaris 1) |
Adjunct passwords Secure RPC NIS passwords |
Digital UNIX (OSF/1) 3.X and 4.X |
Enhanced security NIS passwords |
HP-UX |
Enhanced security* NIS passwords |
AIX 4 |
Shadow passwords* NIS passwords |
*See below |
Npasswd does not support NIS+.
Getting passwords out of NIS+ is easy, and even updating them is straightforward. NIS+ credentials are complicated to manage.
It is possible but not a good idea to have the login password and the NIS+ key phrase be different. Hence, when the login password is changed, the key phrase should be updated. The API for doing this has changed in every version of Solaris, and was undocumented.
There is an application which does this (nisaddcred), but either takes the key phrase from the command line or reads it from /dev/tty. Neither choice is suitable for use by npasswd.
Support for shadow passwords is included, but has been only lightly tested.
AIX 4.1 has many password restrictions which can be set per-user or system wide. These include lexical requirements, dictionary searches (though not nearly as vigorous that done by npasswd) and a hook for external password check modules. Judicious use of these restrictions should result in passwords which are harder to crack.
You may desire to tune these password restrictions first before converting to npasswd.
The words lists from this distribution could be used as password check dictionaries.
There are a number of other password restrictions available on AIX 4, and a password history mechanism, none of which are supported by npasswd.
Password history in a NIS map (or NIS+ table) would work much better for a cluster, rather than sharing a history file with NFS. One approach would be to define an RPC service to query and update password history, and provide a daemon, which would be started at boot time on the system having the password file.
The major UNIX vendors have security facilities which should facilitate the development of programs such as npasswd. The mechanisms are often complex, sometimes the API is not well documented, nor is sample code available.
Hence, npasswd makes minimal use of such facilities.
Document id @(#) MiscNotes.html 1.6
Version 1.6
Last modified 07/20/98
Clyde Hoover