Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pwconv(1m) [hpux man page]

pwconv(1M)																pwconv(1M)

NAME
pwconv - install, update or check the /etc/shadow file SYNOPSIS
DESCRIPTION
The command installs or appends with information from or checks for any discrepancies between the contents of the two files. The command without options does the following: 1. Creates the file if it does not exist; otherwise, it removes all entries for usernames which are not present in 2. For each entry in move the encrypted password and aging information to Entries in which have no encrypted password or aging information will not overwrite information in 3. Writes an "x" in each password field of the file, to indicate that the password and aging information reside in the file. The command relies on a special value of "x" in the password field of A value different from "x" will prompt to move the password and aging information into the corresponding fields of and then replace the password field in with an "x". If no aging information exists in for a user, none will be added to However, the last change field, which indicates when the password was last modified, will always be updated (default is current date). See shadow(4). Options The following options are recognized: Verbose output. Test mode. prints error information but does not modify nor Notes The command can only be used by the superuser. HP recommends running before See pwck(1M). A system which has been converted to a trusted system has no file. In this case, can be used with no options to update the secure password facility to reflect any changes made in the file. RETURN VALUE
exits with one of the following values: Successful completion. Conversion error occurred. WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
system password file shadow password file secure password facility SEE ALSO
pwck(1M), pwunconv(1M), passwd(4), shadow(4). pwconv(1M)

Check Out this Related Man Page

pwconv(1M)						  System Administration Commands						pwconv(1M)

NAME
pwconv - installs and updates /etc/shadow with information from /etc/passwd SYNOPSIS
pwconv DESCRIPTION
The pwconv command creates and updates /etc/shadow with information from /etc/passwd. pwconv relies on a special value of 'x' in the password field of /etc/passwd. This value of 'x' indicates that the password for the user is already in /etc/shadow and should not be modified. If the /etc/shadow file does not exist, this command will create /etc/shadow with information from /etc/passwd. The command populates /etc/shadow with the user's login name, password, and password aging information. If password aging information does not exist in /etc/passwd for a given user, none will be added to /etc/shadow. However, the last changed information will always be updated. If the /etc/shadow file does exist, the following tasks will be performed: Entries that are in the /etc/passwd file and not in the /etc/shadow file will be added to the /etc/shadow file. Entries that are in the /etc/shadow file and not in the /etc/passwd file will be removed from /etc/shadow. Password attributes (for example, password and aging information) that exist in an /etc/passwd entry will be moved to the corre- sponding entry in /etc/shadow. The pwconv command can only be used by the super-user. FILES
/etc/opasswd /etc/oshadow /etc/passwd /etc/shadow ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
passwd(1), passmgmt(1M), usermod(1M), passwd(4), attributes(5) DIAGNOSTICS
pwconv exits with one of the following values: 0 SUCCESS. 1 Permission denied. 2 Invalid command syntax. 3 Unexpected failure. Conversion not done. 4 Unexpected failure. Password file(s) missing. 5 Password file(s) busy. Try again later. 6 Bad entry in /etc/shadow file. SunOS 5.10 9 Mar 1993 pwconv(1M)
Man Page