sudoers Section: MAINTENANCE COMMANDS (5) Updated: 1.6.6 Index JM Home Page roff page åå sudoers - ã©ã®ã¦ã¼ã¶ãä½ãå®è¡ã§ãããã®ãªã¹ã 説æ sudoers ãã¡ã¤ã«ã¯ã2 ã¤ã®ã¿ã¤ãã®ã¨ã³ããªããæ§æãããã (åºæ¬çã«ã¯å¤æ°ã§ãã) ã¨ã¤ãªã¢ã¹ã¨ (誰ãä½ãå®è¡ã§ããããæå®ãã) ã¦ã¼ã¶æå®ã§ããã sudoers ã®ææ³ã¯ã Extended Backus-Naur Form (EBNF) (æ¡å¼µããã«ã¹ã»ãã¦ã¢è¨æ³) ãç¨ããããã¡ã§ä»¥ä¸ã«è¨è¿°ããã EBNF ãç¥ããªãã¦ã諦ããªãã§ã»ããã EBNF ã¯å²ã«ç°¡åã ãã以ä¸ã®å®ç¾©ã«ã¯æ³¨éãã¤ãã¦ããã EBNF ã®ç°¡åãªã¬ã¤ã EBNF ã¯è¨èªã®ææ³ãè¨è¿°ããç°¡åã§å³å¯ãªæ¹æ³ã§ããã EBNF ã®åå®ç¾©ã¯ãçæè¦åãããªã£ã¦ããã
sudo ã³ãã³ãã¯ãroot ãªã©ã®ä»ã®ã¦ã¼ã¶æ¨©éã§ç¹å®ã®ã³ãã³ããå®è¡ããããã®ã³ãã³ãã§ãããsudo ã使ãã¨ãroot ãã¹ã¯ã¼ããæããã«ãã誰ã«ããã©ã®ã³ãã³ããå®è¡å¯è½ã¨ãããã¨ãã£ãç´°ããªæ¨©éãè¨å®ã§ãããããã»ãã¥ãªãã£ãåä¸ãããsudo ã³ãã³ã㯠Linuxã»FreeBSD çãä¸è¬ç㪠UNIX ç³» OS ã§å¤é¨ããã±ã¼ã¸ã¨ãã¦æä¾ããã¦ããããç°å¢ã«ãã£ã¦ã¯æ¢ã«ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®ãã¨ãå¤ãã âsudo ã³ãã³ãã®åºæ¬çãªä½¿ãæ¹ sudo ã¯ãä¸è¬ã¦ã¼ã¶æ¨©éã§ã¯æ®éå®è¡ã§ããªãã³ãã³ãããããã¦ã¼ã¶ã ãã«ã¯è¨±å¯ãããããroot 権éãä¸ãããã¯ãªãå ´åã«ä½¿ããã¾ãã誰ãã©ãããã³ãã³ããå®è¡ããã㯠/var/log/messagesã»/var/log/syslogã»/var/log/authlog ãªã©ã«è¨é²ããããã©ã®ãã°ãã¡ã¤ã«ã«åºåãããã㯠sys
â»ã注æ æ¬ç¨¿ã®å 容ãæ¤è¨¼ããå ´åã¯ãå¿ ãå½±é¿ãåã¼ããªãéãããç°å¢ä¸ã§è¡ã£ã¦ä¸ãããã¾ããæ¬ç¨¿ãå©ç¨ããè¡çºã«ããåé¡ã«é¢ãã¾ãã¦ã¯ãçè ããã³æ ªå¼ä¼ç¤¾ã¢ãããã¼ã¯ã»ã¢ã¤ãã£ã¯ä¸å責任ãè² ãããã¾ãããäºæ¿ãã ããã ååã¯ããã¹ã¦ã®ã³ãã³ãã使ç¨ã§ãã¦ãã¾ãç¹æ¨©ã¦ã¼ã¶ã¼ï¼ã¹ã¼ãã¼ã¦ã¼ ã¶ã¼ï¼ã®å©ç¨å¶éã«ã¤ãã¦èª¬æãããä»åã¯ãå¼ãç¶ãç¹æ¨©ã¦ã¼ã¶ã¼ãé常è¡ãsuã®ã»ãã¥ãªãã£ä¸ã®åé¡ç¹ãsudoã®åºæ¬çãªä½¿ãæ¹ã«ã¤ãã¦ç´¹ä»ããã suã®åé¡ç¹ suã³ãã³ãã¯ãåãã°ã¤ã³ã«ãªãã«rootã«éããä»»æã®ã¦ã¼ã¶ã¼ã«ã¹ã¤ãããããã¨ãã§ããã¨ãããã¨ã¦ã便å©ãªã³ãã³ãã ããããããããªsuã³ãã³ãã«ã¯ã以ä¸ã«ç¤ºããããªãã¨ãæ¸å¿µããã¦ããã ârootã®ãã¹ã¯ã¼ããå ¥åããå¿ è¦ããã suã³ãã³ãã¯ãå®è¡æã«ã¹ã¤ããããã¦ã¼ã¶ã¼ã®ãã¹ã¯ã¼ããå ¥åããå¿ è¦ããããä¾ãã°telnetã§ãªã¢ã¼ããã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}