passwd

PASSWD(1)                   General Commands Manual                  PASSWD(1)



åå
       passwd - ã¦ã¼ã¶ãã¹ã¯ã¼ããå¤æ´ãã

æ¸å¼
       passwd [-f|-s] [name]
       passwd [-g] [-r|-R] group
       passwd [-x max] [-n min] [-w warn] [-i inact] login
       passwd {-l|-u|-d|-S|-e} login

説æ
       passwd ã¯ã¦ã¼ã¶ã¢ã«ã¦ã³ãã»ã°ã«ã¼ãã¢ã«ã¦ã³ãã®ãã¹ã¯ã¼ããå¤æ´ããã
       ä¸è¬ã¦ã¼ã¶ã¯èªåã®ã¢ã«ã¦ã³ãã®ãã¹ã¯ã¼ãããå¤æ´ã§ããªãã
       ã¹ã¼ãã¼ã¦ã¼ã¶ã¯ãããªãã¢ã«ã¦ã³ãã®ãã¹ã¯ã¼ããå¤æ´ã§ããã
       ã°ã«ã¼ãã®ç®¡çèã¯ã°ã«ã¼ãã®ãã¹ã¯ã¼ããå¤æ´ã§ããã passwd
       ã«ãã£ã¦ãã¦ã¼ã¶ã®ãã«ãã¼ã ã»ãã°ã¤ã³ã·ã§ã«ã» ãã¹ã¯ã¼ãã®æéåãã®æ¥ä»ã»
       æå¹æéã¨ãã£ãã¢ã«ã¦ã³ãæå ±ãå¤æ´ãããã¨ãã§ããã

       -s ãªãã·ã§ã³ãæå®ãã㨠passwd 㯠chsh ãå¼ã³åºãã¦ã¦ã¼ã¶ã®ã·ã§ã«ãå¤æ´ããã -f
       ãªãã·ã§ã³ãæå®ãã㨠passwd 㯠chfn ãå¼ã³åºãã¦ã¦ã¼ã¶ã® GECOS æå ±ãå¤æ´ããã
       ãããã® 2 ã¤ã®ãªãã·ã§ã³ã¯äºææ§ã®ããã ãã«ããã chsh ã chfn
       ãç´æ¥å¼ã³åºãã¦ãæ§ããªãã

   ãã¹ã¯ã¼ãã®å¤æ´
       ãã¹ã¯ã¼ããæ¢ã«ããå ´åã¯ãã¾ãå¤ããã¹ã¯ã¼ããå¥åããããä¿ãããã
       å¥åããããã¹ã¯ã¼ãã¯æå·åãããè¨é²ããã¦ãããã®ã¨ç§åãããã æ£ãããã¹ã¯ã¼ãã 1
       åã§å¥åããªãã¦ã¯ãªããªãã
       ã¹ã¼ãã¼ã¦ã¼ã¶ã¯ããã¹ã¯ã¼ããå¿ãã¦ãã¾ã£ãéã®å¤æ´ãè¡ãªããæ§ã«ã
       ãã®ã¹ããããçç¥ã§ããã

       ãã¹ã¯ã¼ããå¥åãããå¾ããã¹ã¯ã¼ãæå¹æéã®æå ±ã調ã¹ã
       ç¾å¨ãã¹ã¯ã¼ãã®å¤æ´ã許ããã¦ãããæ¤æ»ããã ãã許å¯ããã¦ããªãå ´åã¯ã passwd
       ã¯å¤æ´ãæå¦ãã¦çµäºããã

       次ã«ã¦ã¼ã¶ã¯ãç½®ãæãããã¹ã¯ã¼ããå¥åããããä¿ãããã
       å¥åããããã¹ã¯ã¼ãã¯ãååè¤éãã©ããæ¤æ»ãããã ä¸è¬çãªæéã¨ãã¦ã¯ã
       ãã¹ã¯ã¼ãã¯ä»¥ä¸ã®éåããããããä¸ã¤ä»¥ä¸ã®æåã使ã£ã 6 ãã 8 æåã®ãã®ã«ãã¹ãã§ããã

            å°æåã®ã¢ã«ãã¡ããã

            大æåã®ã¢ã«ãã¡ããã

            0 ãã 9 ã¾ã§ã®æ°å

            å¥èªç¹

       ã·ã¹ãã ã®ããã©ã«ãã®æ¶å»æåã kill æåãå«ããªãããã«æ³¨æãããã¨ã passwd
       ã¯ãã¾ãã«åç´ãªãã¹ã¯ã¼ãã¸ã®å¤æ´ã¯æå¦ããã

       å¥åãããã¹ã¯ã¼ããåãå¥ããããå ´åã passwd ã¯ããä¸åº¦å¥åãä¿ãã
       äºçªç®ã«å¥åãããã®ãæåã®ãã®ã¨æ¯è¼ããã ãã¹ã¯ã¼ãå¤æ´ãåãå¥ããããããã«ã¯ã
       ãã®ä¸¡èãåè´ããªãã¦ã¯ãªããªãã

   ã°ã«ã¼ããã¹ã¯ã¼ã
       -g ãªãã·ã§ã³ãç¨ããå ´åã æå®ããã°ã«ã¼ãã®ãã¹ã¯ã¼ããå¤æ´ãããã
       ãã®ãªãã·ã§ã³ã¯ã¹ã¼ãã¼ã¦ã¼ã¶ãæå®ããã°ã«ã¼ãã®ç®¡çèãã使ããªãã
       ç¾å¨ã®ã°ã«ã¼ããã¹ã¯ã¼ãã¯å°ãã¦ããªãã -g ãªãã·ã§ã³ã -r
       ãªãã·ã§ã³ã¨ã¨ãã«ç¨ããã¨ã æå®ããã°ã«ã¼ãã®ãã¹ã¯ã¼ããåé¤ãããã
       ããããã¨å¨ã¦ã®ã¡ã³ãã¼ããã®ã°ã«ã¼ãã«ã¢ã¯ã»ã¹ã§ããããã«ãªãã -R ãªãã·ã§ã³ã -g
       ãªãã·ã§ã³ã¨ã¨ãã«ç¨ããã¨ã
       å¨ã¦ã®ã¦ã¼ã¶ã«å¯¾ãã¦æå®ããã°ã«ã¼ãã¸ã®ã¢ã¯ã»ã¹ãç¦æ¢ã§ããã

   ãã¹ã¯ã¼ãã®æå¹æéæå ±
       ã¹ã¼ãã¼ã¦ã¼ã¶ã¯ããã¹ã¯ã¼ãã®æå¹æéã«é¢ããæå ±ãå¤æ´ã§ããã ããã«ã¯ -x, -n, -w,
       -i ãªã©ã®ãªãã·ã§ã³ãç¨ããã -x ãªãã·ã§ã³ã¯ãã¹ã¯ã¼ããæå¹ãªæé·æ¥æ°ãè¨‐
       å®ããã®ã«ç¨ããããã max æ¥ãéããã¨ãã¹ã¯ã¼ããå¤æ´ããããã«æ±ããããã -n
       ãªãã·ã§ã³ã¯ãã¹ã¯ã¼ããå¤æ´å¯è½ã¨ãªãã¾ã§ã® æçæ¥æ°ãè¨å®ããã®ã«ç¨ããããã
       ã¦ã¼ã¶ã¯ min æ¥ãçµéããå¾ã§ãªãã¨ãã¹ã¯ã¼ããå¤æ´ã§ããªãã -w
       ãªãã·ã§ã³ã¯ãã¹ã¯ã¼ãã®ä½¿ç¨æéãæ¥ãåã« ä½æ¥éè¦åãä¸ããããè¨å®ããããã«ç¨ããããã
       æéåãã® warn æ¥åãã注æãéå§ããã
       ãã¹ã¯ã¼ããæéåãã«ãªãã¾ã§ãã¨ä½æ¥æ®ã£ã¦ãããã示ãããã -i ãªãã·ã§ã³ã¯ã
       ãã¹ã¯ã¼ãã®æéãåãã¦ããä½æ¥éçµéãããã ãã®ã¢ã«ã¦ã³ãã使ç¨ä¸è½ã®ç¶æã«ããããè¨‐
       å®ããã®ã«ç¨ããã inact æ¥éã¢ã«ã¦ã³ãããã¹ã¯ã¼ãæéåãç¶æã®ã¾ã¾ã«ããã¨ã
       ã¦ã¼ã¶ã¯ãã®ã¢ã«ã¦ã³ãã«å¥ããªããªãã

       ããã¢ã«ã¦ã³ãã®ãã¹ã¯ã¼ããç´ã¡ã«æéåãã«ãããå ´åã¯ã -e ãªãã·ã§ã³ãç¨ããã°ããã
       ããã¨ãã®ã¦ã¼ã¶ã¯æ¬¡ã«ãã°ã¤ã³ããéã«ãã¹ã¯ã¼ããå¤æ´ããããå¼·å¶ãããã -d
       ãªãã·ã§ã³ã使ã£ã¦ãã¦ã¼ã¶ã®ãã¹ã¯ã¼ããåé¤ãããã¨ãã§ãã
       (ãã¹ã¯ã¼ãã空ã«ãªã)ããã®ãªãã·ã§ã³ã¯æ³¨æãã¦ä½¿ããã¨ã
       ããã使ãã¨ããã®ã¢ã«ã¦ã³ãã¯ãã°ã¤ã³ã«ãã¹ã¯ã¼ããå¨ãå¿è¦ã¨ããªããªãã
       ã·ã¹ãã ãä¾µå¥èã«å¯¾ãã¦ãªã¼ãã³ã«ãªã£ã¦ãã¾ãã

   ã¢ã«ã¦ã³ãã®ä¿å®
       -l ãã©ã°ã¨ -u ãã©ã°ãç¨ããã¨ã ã¦ã¼ã¶ã¢ã«ã¦ã³ããããã¯ãããããã®ããã¯ãå¤ãããã§ããã
       -l ãªãã·ã§ã³ãç¨ããã¨ã
       ãã¹ã¯ã¼ããã£ã¼ã«ãã®å¤ã¯æå·åãããå¦ä½ãªãå¤ã¨ããããããªããªãã
       ã¢ã«ã¦ã³ãã¯ä½¿ç¨ä¸è½ã«ãªãã -u ãªãã·ã§ã³ãç¨ããã¨ããã¹ã¯ã¼ãã¯ä»¥åã®å¤ã«æ»ãã
       ã¢ã«ã¦ã³ããåã³ä½¿ç¨å¯è½ã¨ãªãã

       -S ãªãã·ã§ã³ãç¨ããã¨ã¢ã«ã¦ã³ãã®ç¶æã表示ãããã ã¢ã«ã¦ã³ãã®ç¶æã®æå ±ã¯ 6
       ã¤ã®é¨åãããªãã æåã®é¨åã¯ãã¢ã«ã¦ã³ãã«ããã¯ãããããã¦ãã (L)ã ãã¹ã¯ã¼ããåå¨ããªã
       (NP)ã ãããã¯ä½¿ç¨å¯è½ãªãã¹ã¯ã¼ãããã (P) ã¨ãã£ãæå ±ã示ãã 2
       çªç®ã¯æå¾ã«ãã¹ã¯ã¼ããå¤æ´ãããæ¥ä»ã示ãã æ®ãã®4ã¤ã®é¨åã¯ãããããã¹ã¯ã¼ãã®æç‐
       æéãæé·æéãè¦åæéã 使ç¨ä¸è½æéã§ããã

   ã¦ã¼ã¶ãã¹ã¯ã¼ãã«å¯¾ãããã³ã
       ãã¹ã¯ã¼ãã®å®å¨æ§ã¯æå·åã¢ã«ã´ãªãºã ã®å¼·åãã¨ãã¼ç©ºéã®å¤§ããã«ä¾åããã UNIX
       ã®ã·ã¹ãã æå·åã®æ¹æ³ã¯ NBS DES ã¢ã«ã´ãªãºã ã«åºã¥ãã¦ãããé常ã«å®å¨æ§ãé«ãã
       ãã¼ç©ºéã®å¤§ããã¯é¸ã°ãããã¹ã¯ã¼ãã®ã©ã³ãã ãã«ä¾åããã

       ãã¹ã¯ã¼ãã®å®å¨æ§ãèããããã®ã¯ã
       大æµã®å ´åãã¹ã¯ã¼ãã®é¸æãæ±ããä¸æ³¨æãªããã§ããã å¾ã£ã¦ãã¹ã¯ã¼ãã¨ãã¦ã¯ã
       è¾æ¸ã«è¼ã£ã¦ãããã®ãæ¸ãçããªããã°ãªããªããã®ã¯ é¿ããã¹ãã§ããã
       ã¾ããåºæåè©ã»å許証çªå·ã»èªçæ¥ã»èªå®ã®ä½æãªã©ã
       ãã¹ã¯ã¼ãã«ããã®ãé¿ããã¹ãã§ããã ãããã¯ããããã·ã¹ãã ã»ãã¥ãªãã£ãç ´ãéã«ã
       æ¨éæå ±ã«ç¨ããããå¯è½æ§ãããããã§ããã

       ãã¹ã¯ã¼ãã¯ç´çã«æ¸ãçãã¦ããå¿è¦ãç¡ãããã ç°¡åã«æãåºãããã®ã«ããªãã¦ã¯ãªããªãã
       ããã¯ä¾ãã°ã çãäºã¤ã®åèªããã£ã¤ãã¦ã ãã®éã«ç¹æ®è¨å·ãæ°å‐
       ãæã¿è¾¼ããã¨ã«ãã£ã¦ä½ããã ä¾ãã° Pass%word ãªã©ã

       ä»ã®ä½ãæ¹ã¨ãã¦ã¯ãæå¦ä½åãªã©ããæãåºããããå¥ãé¸ã³åºãã
       ããããã®åèªããæåãããã¯æå¾ã®æåãæãåºãæ¹æ³ãããã ãã®æ¹æ³ã®ä¾ã¨ãã¦ã¯ã

            Ask not for whom the bell tolls.

       ã¨ããå¥ãã

            An4wtbt.  ã¨ãããã¹ã¯ã¼ããä½ãåºããã

       ã¯ã©ãã«ã¼ã®è¾æ¸ã«ã¯ã ãããªèªå¥ã¯è¼ã£ã¦ããªãããã ãã¨ã¿ãªãã¦ãè¯ãã ããã
       ããããããã«ç¤ºããæ¹æ³ã ãã«é ¼ãã®ã§ã¯ãªãã
       èªåç¬èªã®ãã¹ã¯ã¼ãã®ä½ãæ¹ãèãåºãã¹ãã§ããã

   ã°ã«ã¼ãã®ãã¹ã¯ã¼ãã«é¢ãã注æ
       ã°ã«ã¼ããã¹ã¯ã¼ãã¯ãä¸äººä»¥ä¸ã®äººéãç¥ããã¨ã許ããããã®ã§ããããã æ¬è³ªçã«ã»ã‐
       ã¥ãªãã£ä¸ã®åé¡ãæ±ãã¦ããã ãããã°ã«ã¼ãã使ãã°å¥ãã®äººéãå±åã§ä½æ¥‐
       ããäºãã§ããã®ã§ã ããã¯ä¾¿å©ãªãã¼ã«ã§ã¯ããã

è¦å
       å¨ã¦ã®ãªãã·ã§ã³ã使ããããã«ã¯è¨å®ããã¦ããªããããããªãã
       ãã¹ã¯ã¼ãã®è¤éãã®æ¤è¨¼ã¯ãµã¤ãã«ãã£ã¦ç°ãªãã ããã
       ã¦ã¼ã¶ã¯ã·ã¹ãã ãæºè¶³ãããããªã ååè¤éãªãã¹ã¯ã¼ããé¸ã¶ããå¼·å¶ãããã NIS
       ãåä½ãã¦ãã¦ã ã㤠NIS ãµã¼ã以å¤ã«ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ã¯ã
       ãã¹ã¯ã¼ããå¤æ´ã§ããªãã (訳注: ãã®å ´å yppasswd(8) ãç¨ããã)

ãã¡ã¤ã«
       /etc/passwd - ã¦ã¼ã¶ã¢ã«ã¦ã³ãæå ±
       /etc/shadow - æå·åãããã¦ã¼ã¶ãã¹ã¯ã¼ã

é¢é£é ç®
       group(5), passwd(5), shadow(5)

èè
       Julianne Frances Haugh <jockgrrl@ix.netcom.com>



                                                                     PASSWD(1)