pwconv

PWCONV(8)                   System Manager's Manual                  PWCONV(8)



åå
       pwconv, pwunconv, grpconv, grpunconv - ãã¹ã¯ã¼ãã»ã°ã«ã¼ãã® shadow
       åã¨ãé常ãã¡ã¤ã«ã¸ã®éå¤æ

æ¸å¼
       pwconv
       pwunconv
       grpconv
       grpunconv

説æ
       ããã 4 ã¤ã®ããã°ã©ã ã¯ã é常ã®ãã¹ã¯ã¼ããã¡ã¤ã«ã»ã°ã«ã¼ããã¡ã¤ã«ã¨ã shadow
       åããããã¹ã¯ã¼ããã¡ã¤ã«ã»ã°ã«ã¼ããã¡ã¤ã«ã§ãã /etc/passwd ", " /etc/group ",
       " /etc/shadow ", " /etc/gshadow ãæä½ããã

       pwconv 㯠passwd ãã shadow ãä½æãã (ãã§ã«åå¨ããå ´å㯠shadow
       ã®æå ±ãç¨ãã)ã pwunconv 㯠passwd 㨠shadow ãã passwd ãä½æããshadow
       ãåé¤ããã grpconv 㯠group ãã gshadow ãä½æãã (ãã§ã«åå¨ããå ´å㯠gshadow
       ã®æå ±ãç¨ãã)ã grpunconv 㯠group 㨠gshadow ãã group ãä½æããgshadow
       ãåé¤ããã

       åããã°ã©ã ã¯å¤æåã«ãå¿è¦ãªããã¯ãè¦æ±ããã

       pwconv 㨠grpconv ã¨ã¯ä»¥ä¸ã®ç¹ã§é¡ä¼¼ãã¦ããã ã¾ããshadow
       åãã¡ã¤ã«ã«ããã¨ã³ããªã®ãã¡ã é常ãã¡ã¤ã«ã«ãªããã®ã¯ãåé¤ãããã ã¾ããshadow
       åãã¡ã¤ã«ã«ããã¨ã³ããªã®ãã¡ã é常ãã¡ã¤ã«ã§ãã¹ã¯ã¼ãã `x'
       ã«ãªã£ã¦ããªããã®ã¯ãæ´æ°ãããã æå¾ã«ãé常ãã¡ã¤ã«ã«æ¸ããããã¹ã¯ã¼ã㯠`x'
       ã«ç½®ãæããããã ãããã®ããã°ã©ã ã¯ãåãã¦å¤æãè¡ãã¨ãã«ãã
       ã¾ãé常ã®ãã¡ã¤ã«ãæåã§ç·¨éããéã«ã shadow åãã¡ã¤ã«ãæ´æ°ããã¨ãã«ãå©ç¨ã§ããã

       /etc/shadow ã«æ°ããã¨ã³ããªã追å ããã¨ãã pwconv 㯠/etc/login.defs ã®
       PASS_MIN_DAYS, PASS_MAX_DAYS, PASS_WARN_AGE ã®å¤ã使ãã

       åãããã«ã pwunconv 㨠grpunconv ã¨ã¯ä»¥ä¸ã®ç¹ã§é¡ä¼¼ãã¦ããã
       é常ãã¡ã¤ã«ã®ãã¹ã¯ã¼ãã¯ã shadow åãã¡ã¤ã«ã®ãã®ã§æ´æ°ãããã
       é常ãã¡ã¤ã«ã«ããã¨ã³ããªã¯ã shadow åãã¡ã¤ã«ã«ã¯ãã®ã¨ã³ããªããªãã¦ãã
       ãã®ã¾ã¾ç½®ããç¶ããã æå¾ã«ã shadow åãã¡ã¤ã«ã¯åé¤ãããã

       ãã¹ã¯ã¼ãã®æå¹æéæå ±ã®ä¸é¨ã¯ã pwunconv ã«ãã£ã¦å¤±ããããå¤æã§ãããã®ã¯å¤æãããã

ãã°
       (ä¸æ£ãªã¨ã³ããªãéè¤ããã¨ã³ããªã¨ãã£ã)
       ã¨ã©ã¼ããã¹ã¯ã¼ããã¡ã¤ã«ãã°ã«ã¼ããã¡ã¤ã«ã«ããã¨ã ãã‐
       ã°ã©ã ã¯æ°¸é ã«ã«ã¼ãããããããããªå½¢ã§å¤±æãããããããªãã shadow
       ãã¹ã¯ã¼ãã»ã°ã«ã¼ãã¸ã®å¤æã shadow åãã¡ã¤ã«ããã®éå¤æãè¡ãåã«ã pwck 㨠grpck
       ãå®è¡ãã¦ã¨ã©ã¼ãä¿®æ£ãããã¨ã

é¢é£é ç®
       login.defs(5), grpck(8), pwck(8)



                                  26 Sep 1997                        PWCONV(8)