{"published":"2020-05-20 19:11:20","description":"su - [\u7ba1\u7406\u8005\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u7ba1\u7406\u8005\u3078\u30b9\u30a4\u30c3\u30c1] sudo [\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u7ba1\u7406\u8005\u6a29\u9650\u306e\u4e00\u90e8\u3092\u5b9f\u884c] id [@ ~]$ id uid=1000(Username) gid=1000(Username) groups=1000(Username) (\u95b2\u89a7\u306e\u307f)vim /etc/sudoers \u7de8\u96c6\u306f\u3001visudo\u3067\u884c\u3046\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b vim /etc/sudoers visudo ## Allow root to run any commands anywhere root ALL=(ALL) ALL ## Allows members of the 'sys' group\u2026","image_url":null,"type":"rich","blog_title":"noel-ingenieur","height":"190","url":"https://noel-ingenieur.hateblo.jp/entry/2020/05/20/191120","author_url":"https://blog.hatena.ne.jp/noel-blog/","provider_url":"https://hatena.blog","blog_url":"https://noel-ingenieur.hateblo.jp/","title":"\u3010Linux\u3011 su - \u3068sudo","provider_name":"Hatena Blog","author_name":"noel-blog","version":"1.0","categories":[],"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoel-ingenieur.hateblo.jp%2Fentry%2F2020%2F05%2F20%2F191120\" title=\"\u3010Linux\u3011 su - \u3068sudo - noel-ingenieur\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}