CentOS 5.x ã§ã次ã®ããã« sudo ã³ãã³ããå®è¡ããã¨ã次ã®ãããªã¨ã©ã¼ãã§ã¾ãããã $ sudo service httpd restart sudo: service: command not found ããã¯ãå½ç¶ãªãã /sbin ã«ãã¹ãéã£ã¦ããªãããã§ãã PATH ãè¦ã¦ã¿ãã¨ã次ã®ãããªæãã«ãªã£ã¦ãã¾ããã¡ãªã¿ã« sudo ããåã®é常ã¦ã¼ã¶ naoya ã®ã·ã§ã«ã¯ bash 㧠.bashrc ãªã©ã¯ããã©ã«ãã®ã¾ã¾ä½ãå¤æ´ãã¦ãã¾ããã $ sudo sh -c 'echo $PATH' /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/naoya/bin ãã® PATH ã«ã/sbin ã /usr/sbin ã追å ããã«ã¯ã/etc/sudoers ã«æ¬¡ã®å 容ã追å ãã¾ãã $ sudo
{{#tags}}- {{label}}
{{/tags}}