passwd

PASSWD(5)                  Linux Programmer's Manual                 PASSWD(5)



åå
       passwd - ãã¹ã¯ã¼ããã¡ã¤ã«

説æ
       Passwd 㯠ASCII ãã¡ã¤ã«ã§ããã®ã·ã¹ãã ã®ã¦ã¼ã¶ã¼ãªã¹ãã¨ãã¦ã¼ã¶ã¼ã
       ã·ã¹ãã ãå©ç¨ããæã«å¿è¦ãªãã¹ã¯ã¼ãæå ±ãæã£ã¦ããã ãã¹ã¯ã¼ããã¡ã¤ã«ã®ãã‐
       ãã¯ã·ã§ã³ã¯ãå¨ã¦ã¼ã¶ã¼ã« èªã¿åãã®è¨±å¯(è²ããªã¦ã¼ãã£ãªãã£ãä¾ãã° ls(1)
       ã§ã¯ã¦ã¼ã¶ã¼IDãã¦ã¼ã¶ã¼åã«ããã®ã«ä½¿ã£ã¦ãã)ãä¸ããã¹ã¼ãã¼
       ã¦ã¼ã¶ã¼ã«ã®ã¿æ¸ãè¾¼ã¿è¨±å¯ãä¸ããããã«ãã¹ãã§ããã

       å¤ãè¯ãæ代ã«ã¯ããã®å¨ã¦ã¼ã¶ã¼ã«å¯¾ããèªã¿åã許å¯ã¯
       ç¹å¥ãªåé¡ãèµ·ãããªãã£ãã誰ã§ãæå·åããããã¹ã¯ã¼ãã èª‐
       ãäºãåºæ¥ãããä¸æã«é¸ã°ãããã¹ã¯ã¼ããç ´ãã®ã«ã¯
       å½æã®ãã¼ãã¦ã§ã¢ã®é度ã¯ãã¾ãã«éãã£ãããããã«å ãã¦
       å好çãªã¦ã¼ã¶ã¼ç¤¾ä¼ã§ããäºãåºæ¬çãªåæã ã£ãã
       æè¿ã§ã¯å¤ãã®äººããä½ããã®ãã¼ã¸ã§ã³ã®shadow password suite
       (訳注:ã·ã£ãã¦ã»ãã¹ã¯ã¼ãæ©è½ãå®ç¾ããããã®ããã°ã©ã 群 ã®äºãJFã®Shadow-
       Password-HOWTOãåç§) ãåããã¦ããããã®å ´åã«ã¯ /etc/passwd
       ã®ãã¹ã¯ã¼ãæ¬ã«ã¯ããã¹ã¯ã¼ãã®ä»£ããã«æãã¼ã¯(*)ãè¨å®ããã æå·åããããã¹ã¯ã¼ãã¯ã
       /etc/shadow ã®ä¸ã«ç½®ããã¦ã«ã¼ãã®ã¿ãèªã¿åãå¯è½ã¨ãªã£ã¦ããã

       æ°ããã¦ã¼ã¶ã¼ãç»é²ããå ´åããã¹ã¯ã¼ãæ¬ã¯ç©ºæ¬ã®ã¾ã¾ã«ãã¦
       ããpasswd(1)ã³ãã³ãã«ããè¨å®ããããã«ããã ãã¹ã¯ã¼ãæ¬ã«æãã¼ã¯(*)ãè¨‐
       å®ããã¦ããã¦ã¼ã¶ã¼ã¯ã login(1)ã³ãã³ãã«ããã·ã¹ãã ã«ãã°ã¤ã³åºæ¥ãªãäºã
       æå³ãã¦ããã

       ãã¹ã¯ã¼ããã¡ã¤ã«ã¯1è¡ãã¨ã«1ã¨ã³ããªãæã¡ããããã ã®è¡ã¯æ¬¡ã®æ¸å¼ãæã£ã¦ãã:

              login_name:passwd:UID:GID:user_name:directory:shell

       åæ¬ã®èª¬æ:


              login_name
                        ãã®ã·ã¹ãã ã§ã®ã¦ã¼ã¶ã¼åã

              password  ãã®ã¦ã¼ã¶ã¼ã®æå·åããããã¹ã¯ã¼ãã(ãªãã·ã§ãã«)

              UID       ã¦ã¼ã¶ã¼IDçªå·ã

              GID       ãã®ã¦ã¼ã¶ã¼ãå±ããã°ã«ã¼ãIDçªå·ã

              user_name ã³ã¡ã³ãæ¬(ã¦ã¼ã¶ã¼ã®ãã«ãã¼ã æ¬ã¨ãã¦ãã使ããã)ã(ãªãã·ã§ãã«)

              directory ã¦ã¼ã¶ã¼ã®$HOMEãã£ã¬ã¯ããªã

              shell     ãã°ã¤ã³ã®éåãããã°ã©ã å(空æ¬ã®å ´å /bin/shã使ããã)ã

注æ
       ã«ã¼ããã¡ã¤ã«ã·ã¹ãã ã /dev/ram
       ã«ç½®ããã¦ããå ´åãã·ã¹ãã ãã·ã£ãããã¦ã³ããåã«ãå¤æ´ãã
       ãã¹ã¯ã¼ããã¡ã¤ã«ãã«ã¼ããã¡ã¤ã«ã·ã¹ãã ã®å¥ã£ãããããã¼ãã£ã¹ã¯ ã«ä¿å‐
       ãã¦ã¢ã¯ã»ã¹æ¨©ããã§ãã¯ããããã«ãããã¦ã¼ã¶ã¼ã°ã«ã¼ãã
       ä½ãããå ´åã«ã¯ãåãã°ã«ã¼ãã«å±ããã¦ã¼ã¶ã¼ã®GIDã¯åãå¤ã¨ãã
       ãã®GIDã/etc/groupã®ä¸ã«å®ç¾©ãã¦ããå¿è¦ãããã
       ããããªãã¨ã°ã«ã¼ããä½ã£ããã¨ã«ã¯ãªããªãã

ãã¡ã¤ã«
       /etc/passwd

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




Linux                            24 July 1993                        PASSWD(5)