(2019/4/6)ãã®è¨äºã®å 容ã¯å¤ãããããä¸è¬ã¦ã¼ã¶ã§ç®¡çè 権éã使ãsudoã³ãã³ãã®è¨å®ã¨ä½¿ãæ¹, ç°å¢å¤æ°ããåç §ã è¤æ°ã®ã³ãã³ãè¡ã1åã®sudoã§å®è¡ãããå ´å è¤æ°ã®ã³ãã³ãè¡ã1åã®sudoã§å®è¡ããã«ã¯ è¤æ°ã®ã³ãã³ãè¡ãå®è¡ããè¨è¿°ãã·ã§ã«ã¸ã®(-c)ãªãã·ã§ã³ã¨ãã¦sudoããã·ã§ã«ãå®è¡ å®è¡ããå 容ãã·ã§ã«ã¹ã¯ãªããã«è¨è¿°ãããã®ãsudoã§å®è¡ ãªã©ã®æ¹æ³ãããã ãã·ã§ã«ãå®è¡ãããã¨ããã®ã¯ $ sudo sh -c '[ã³ãã³ãè¡1...]; [ã³ãã³ã2...]; [以ä¸åæ§ã«ç¶ã]'ãªã©ã®ããã«ãã(使ç¨ã·ã§ã«ã¯ä»»æ)ã®ã ããç¹ã«è¤æ°ã®ã¦ã¼ã¶ã§ç¨ãã¦ããå ´åã«ã¯ã·ã§ã«ã®sudoããã®å®è¡ã許å¯ãããã¨ããµãããããªãå ´åãããã/etc/sudoers(visudoã³ãã³ãã§ç·¨é)ã®ã[ã¦ã¼ã¶/%ã°ã«ã¼ã] [ãã¹ã]=([åä½æ¨©é]) [å®è¡ã
{{#tags}}- {{label}}
{{/tags}}