pwconv(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pwconv(8)

System Administration Commands                                       pwconv(8)



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. How‐
       ever, the last changed information will always be updated.


       If the /etc/shadow file does exist, the following tasks  will  be  per‐
       formed:

           o      Entries  that  are  in  the  /etc/passwd file and not in the
                  /etc/shadow file will be added to the /etc/shadow file.


           o      Entries that are in the /etc/shadow  file  and  not  in  the
                  /etc/passwd file will be removed from /etc/shadow.


           o      Password  attributes (for example, password and aging infor‐
                  mation) that exist in an /etc/passwd entry will be moved  to
                  the corresponding entry in /etc/shadow.



       The pwconv command can only be used by the super-user.

FILES
           o      /etc/opasswd


           o      /etc/oshadow


           o      /etc/passwd


           o      /etc/shadow


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       passwd(1), passwd(5), attributes(7), usermod(8)

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.




Oracle Solaris 11.4               21 Jun 2021                        pwconv(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3