login

LOGIN(1)                    General Commands Manual                   LOGIN(1)



åå
       login - ã·ã¹ãã ä¸ã«ã»ãã·ã§ã³ãéã

æ¸å¼
       login [ username [ environmental-variables ] ]

説æ
       login ã¯ã·ã¹ãã ã«æ°ãã«ã»ãã·ã§ã³ãéãããã«ç¨ããããã
       é常ã¯ãã¦ã¼ã¶ã®ç«¯æ«ã«è¡¨ç¤ºããã login: ã¨ãããã‐
       ã³ããã«å¿ããäºã«ãã£ã¦èªåçã«èµ·åãããã login ã¯ã·ã§ã«ã«ã®ã¿éå®ããã¦ããããµããã‐
       ã»ã¹ã¨ãã¦èµ·åãããã¨ã¯åºæ¥ãªãã å¸åçã«ã¯ãã·ã§ã«ã¯ login ã exec
       loginã¨è¦åãã®ã§ãã¦ã¼ã¶ã¯ç¾å¨ã®ã·ã§ã«ããæãããã¨ã«ãªãã ã‐
       ã°ã¤ã³ã·ã§ã«ä»¥å¤ããloginãèµ·åãããã¨ããã¨ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã 表示ãããã

       login:ããã³ããããèµ·åããéã¯ãã¦ã¼ã¶åã«ç¶ãã¦ç°å¢å¤æ°ãå¥å ããäºãã§ããã
       ããããå¥åããå ´åã¯NAME=VALUEã¨ããæ¸å¼ã§è¡ãã ãã®æ¹æ³ã§å¨ã¦ã®å¤æ°ãè¨‐
       å®ã§ããããã§ã¯ãªãã è¨å®ã§ããªããã®ã®ä»£è¡¨ä¾ã¨ãã¦ãPATHãHOMEåã³SHELLã ããã
       å ãã¦ããã°ã¤ã³ã·ã§ã«ã/bin/shã®å ´åã¯IFSã®è¨å®ã è¡ãäºãåºæ¥ãªãã

       次ãã§ãå¿è¦ãªãã°ããã¹ã¯ã¼ãã®å¥åãä¿ãããã
       ãã¹ã¯ã¼ããæããã¦ãã¾ããªãããã«ãã¨ã³ã¼ã¯è¡ãããªãã
       æ°å以ä¸ãã¹ã¯ã¼ãå¥åã«å¤±æããã¨loginã¯çµäºãéä¿¡ã®æ¥ç¶ã¯ åæããã¦ãã¾ãã

       ã¢ã«ã¦ã³ãã«å¯¾ãã¦ãã¹ã¯ã¼ãã®æå¹æéãè¨å®ããã¦ããå ´åã¯ã
       åã«é²ãåã«æ°ãããã¹ã¯ã¼ãã®è¨å®ãä¿ããããã¨ãããã
       ã»ãã·ã§ã³ãç¶ããããã«ã¯å¤ããã¹ã¯ã¼ãåã³æ°ãããã¹ã¯ã¼ããå¥å ããªãã¦ã¯ãªããªãã
       詳ããæå ±ã¯passwd(1)ãåç§ããã

       ãã°ã¤ã³ã«æåããã¨ãã·ã¹ãã ã«é¢ããæå ±ãã¡ã¤ã«ã®æç¡ã表示ãããã ã‐
       ã°ã¤ã³ãã£ã¬ã¯ããªã«é·ã0ã®ãã¡ã¤ã«.hushloginãä½ã£ã¦ãããã¨ã§ã
       ã·ã¹ãã ã®ã¡ãã»ã¼ã¸ãã¡ã¤ã«ãå³ã¡/etc/motdã表示ãããªãããã㨠ãåºæ¥ãã
       ã¡ã¤ã«ã«é¢ããã¡ãã»ã¼ã¸ã¨ãã¦ã¯ãã¡ã¤ã«ããã¯ã¹ã®ç¶æã«ãã£ã¦ "You have new
       mail."ã "You have mail."ãããã㯠"No Mail."ã®ãããã表示ãããã

       ã¦ã¼ã¶åã³ã°ã«ã¼ãã®IDã¯/etc/passwdãã¡ã¤ã«ä¸ã«è¨è¼ããã¦ããå¤ ã«ãã£ã¦è¨‐
       å®ãããã $HOMEã$SHELLã$PATHã$LOGNAMEåã³$MAILã®å¤ ã¯ãã¹ã¯ã¼ãã¨ã³ããªã¼ä¸‐
       ã®å¯¾å¿ããæ¬ã«è¨ãããå¤ã«ãã£ã¦è¨å®ãããã
       ulimitãumaskåã³niceå¤ãGECOSæ¬ã®ã¨ã³ããªã¼ã«ãã£ã¦è¨å®ãããã¨ãã§ããã

       ã¤ã³ã¹ãã¬ã¼ã·ã§ã³ã«ãã£ã¦ã¯ã ttyããã¤ã¹ã®ç«¯æ«ã®ç¨®é¡ã«ãããã¦ã
       ç°å¢å¤æ°$TERMã /etc/ttytypeã«æå®ãããéãã«åæåãããã

       ã³ãã³ãã¤ã³ã¿ããªã¿ã®åæåã¹ã¯ãªãããå®è¡ããããã¨ãããã
       ãã®æ©è½ã«ã¤ãã¦ã®è©³ããæå ±ã¯é©å½ãªããã¥ã¢ã«ã»ã¯ã·ã§ã³ãåç§ã®ãã¨ã

è¦å
       ãã®çã®loginã«ã¯å¤ãã®ã³ã³ãã¤ã«æãªãã·ã§ã³ããããã
       ãµã¤ãã«ãã£ã¦ã¯ããã®ãã¡ã®ããã¤ããã使ããã¦ããªããã¨ãããã

       ã·ã¹ãã ã®è¨å®ã®éãã«ãã£ã¦ä¸è¨ãã¡ã¤ã«ã®å¨å¦ã¯ãããã

shadowãã°ã¤ã³ããã°ã©ã ã§ã®ã¦ã¼ã¶å¶éã®è¨å®æ¹æ³
       ã¾ãããªã½ã¼ã¹ã«å¯¾ãã¦èª²ãããå¶éãè¨ãããrootã®ã¿ãèªããã¨ã®åºæ¥ã
       ãã¡ã¤ã«(ãã£ãã©ã«ãã§ã¯/etc/limitsã è¥ããã¯config.hä¸‐
       ã§å®ç¾©ããã¦ããLIMITS_FILEã§æå®ãããã®)ãä½ãã
       ãã£ãã©ã«ãã§ã¯ã'root'ã«ã¯quotaã®å¶éã¯èª²ãããªãã
       å®éã®ã¨ããããã®ææ³ã«ãã£ã¦rootã¨å権ã®ã¢ã«ã¦ã³ã(UIDã0ã®ã¢ã«ã¦ã³ã)
       ã«å¶éã課ãæç«ã¦ã¯åå¨ããªãã

       åè¡ã«ã¯ä»¥ä¸ã®æ¸å¼ã§ã¦ã¼ã¶ã¸ã®å¶éãæ¸ãã¦ããã
       user LIMITS_STRING

       LIMITS_STRINGã¯ãªã½ã¼ã¹ã«å¯¾ããå¶éã®ãªã¹ããé£çµãã æååã§ããã åå¶éã¯èå¥å‐
       ä¸æåã¨ããã«ç¶ãå¶éæ°å¤ã«ãã£ã¦æå®ããã èå¥åã¨ãã¦æå¹ãªãã®ã¯:
       C: coreãã¡ã¤ã«ãµã¤ãºã®æå¤§å¤ (KB)
       D: æ大ã®ãã¼ã¿ãµã¤ãº (KB)
       F: æ大ã®ãã¡ã¤ã«ãµã¤ãº (KB)
       M: ã¡ã¢ãªä¸ã§å æãããã¨ã®åºæ¥ãã¢ãã¬ã¹ç©ºéã®æå¤§å¤ (KB)
       N: éããã¨ã®åºæ¥ããã¡ã¤ã«æ°ã®æ大å¤
       R: 常é§ãããããæ大ãµã¤ãº (KB)
       S: æ大ã®ã¹ã¿ãã¯ãµã¤ãº (KB)
       T: æ大CPUã¿ã¤ã  (å)
       U: æ大ããã»ã¹æ°
       L: ãã°ã¤ã³åºæ¥ãæ°ã®æ大å¤

       ä¾ãã°ãL2D2048N5ã¯æ£ããLIMITS_STRINGã§ããã

       ãã£ãã©ã«ãã®ã¨ã³ããªã¼ã¯'*'ã¨ããã¦ã¼ã¶åã§è¡¨ãããã LIMITS_FILEä¸‐
       ã«è¤æ°ã®'ãã£ãã©ã«ã'ã¨ã³ããªã¼ãè¨å®ããã¦ããå ´åã¯ã
       æå¾ã®ãã®ããã£ãã©ã«ãã¨ã³ããªã¼ã¨ãã¦ç¨ããããã

ãã¡ã¤ã«
       /etc/utmp - ç¾å¨ã®ãã°ã¤ã³ã»ãã·ã§ã³ã®ãªã¹ã
       /etc/wtmp - ç´åã®ãã°ã¤ã³ã»ãã·ã§ã³ã®ãªã¹ã
       /etc/passwd - ã¦ã¼ã¶ã¢ã«ã¦ã³ãã®æå ±
       /etc/shadow - shadowããããã¹ã¯ã¼ãåã³ãæéã®æå ±
       /etc/motd - ã·ã¹ãã ã¡ãã»ã¼ã¸ãã¡ã¤ã«
       /etc/ttytype - 端æ«ã®ç¨®é¡ã®ãªã¹ã
       /etc/limits - ã¦ã¼ã¶ã«èª²ãã·ã¹ãã ãªã½ã¼ã¹ã¸ã®å¶é
       $HOME/.profile - ãã£ãã©ã«ãã·ã§ã«ã®åæåã¹ã¯ãªãã
       $HOME/.hushlogin - ã·ã¹ãã ã¡ãã»ã¼ã¸ã®è¡¨ç¤ºãã¨ãã

é¢é£ã³ãã³ã
       getty(1M), mail(1), passwd(1), sh(1), su(1), d_passwd(4), passwd(4)

翻訳è
       å¤é«åç¦ <furutaka@Flux.tokai.jaeri.go.jp>




                                                                      LOGIN(1)