- 论坛徽章:
- 0
|
# man pwconv\r\n正在重新格式化页面。请等待... 完成\r\n\r\nSystem Administration Commands pwconv(1M)\r\n\r\nNAME\r\n pwconv - installs and updates /etc/shadow with information\r\n from /etc/passwd\r\n\r\nSYNOPSIS\r\n pwconv\r\n\r\nDESCRIPTION\r\n The pwconv command creates and updates /etc/shadow with\r\n information from /etc/passwd.\r\n\r\n pwconv relies on a special value of \'x\' in the password\r\n field of /etc/passwd. This value of \'x\' indicates that the\r\n password for the user is already in /etc/shadow and should\r\n not be modified.\r\n\r\n If the /etc/shadow file does not exist, this command will\r\n create /etc/shadow with information from /etc/passwd. The\r\n command populates /etc/shadow with the user\'s login name,\r\n password, and password aging information. If password aging\r\n information does not exist in /etc/passwd for a given user,\r\n none will be added to /etc/shadow. However, the last\r\n changed information will always be updated.\r\n\r\n If the /etc/shadow file does exist, the following tasks\r\n will be performed:\r\n\r\n Entries that are in the /etc/passwd file and not in\r\n the /etc/shadow file will be added to the /etc/shadow\r\n file.\r\n\r\n Entries that are in the /etc/shadow file and not in\r\n the /etc/passwd file will be removed from /etc/shadow.\r\n\r\n Password attributes (for example, password and aging\r\n information) that exist in an /etc/passwd entry will\r\n be moved to the corresponding entry in /etc/shadow.\r\n\r\n The pwconv command can only be used by the super-user.\r\n\r\nFILES\r\n /etc/opasswd\r\n\r\n /etc/oshadow\r\n\r\n /etc/passwd\r\n\r\n /etc/shadow\r\n\r\nATTRIBUTES\r\n See attributes(5) for descriptions of the following attri-\r\n butes:\r\n\r\nSunOS 5.9 Last change: 9 Mar 1993 1\r\n\r\nSystem Administration Commands pwconv(1M)\r\n\r\n ____________________________________________________________\r\n | ATTRIBUTE TYPE | ATTRIBUTE VALUE |\r\n |_____________________________|_____________________________|\r\n | Availability | SUNWcsu |\r\n |_____________________________|_____________________________|\r\n\r\nSEE ALSO\r\n passwd(1), passmgmt(1M), usermod(1M), passwd(4), attri-\r\n butes(5)\r\n\r\nDIAGNOSTICS\r\n pwconv exits with one of the following values:\r\n\r\n 0 SUCCESS.\r\n\r\n 1 Permission denied.\r\n\r\n 2 Invalid command syntax.\r\n\r\n 3 Unexpected failure. Conversion not done.\r\n\r\n 4 Unexpected failure. Password file(s) missing.\r\n\r\n 5 Password file(s) busy. Try again later.\r\n\r\n 6 Bad entry in /etc/shadow file.\r\n\r\nSunOS 5.9 Last change: 9 Mar 1993 2 |
|