{"provider_name":"Hatena Blog","categories":["WSL","\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf"],"url":"https://uepon.hatenadiary.com/entry/2024/11/06/230116","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuepon.hatenadiary.com%2Fentry%2F2024%2F11%2F06%2F230116\" title=\"\u3010\u30e1\u30e2\u3011WSL\u3067root\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u305f\u5834\u5408\u306b\u306f\uff1f - uepon\u65e5\u3005\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://uepon.hatenadiary.com/","blog_title":"uepon\u65e5\u3005\u306e\u5099\u5fd8\u9332","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/u/ueponx/20241106/20241106225735.png","title":"\u3010\u30e1\u30e2\u3011WSL\u3067root\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u305f\u5834\u5408\u306b\u306f\uff1f","height":"190","width":"100%","author_name":"ueponx","published":"2024-11-06 23:01:16","version":"1.0","author_url":"https://blog.hatena.ne.jp/ueponx/","provider_url":"https://hatena.blog","description":"\u5b66\u751f\u306b\u6307\u5c0e\u3059\u308b\u4e2d\u3067\u3001WSL\u3092\u4e45\u3057\u3076\u308a\u306b\u4f7f\u7528\u3057\u305f\u306e\u3067root\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3068\u3044\u3046\u8a71\u304c\u3042\u308a\ud83d\ude27\u3073\u3063\u304f\u308a\u3057\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3042\u308a\u3048\u306a\u3044\u308f\u3051\u3067\u3082\u306a\u3044\u306a\u3068\u601d\u3044\u89e3\u6c7a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002 WSL\u306eroot\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306b\u306f\uff1f \u4f5c\u696d\u306f\u7c21\u5358\u3067\u3001\u7ba1\u7406\u7528\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306bWindows\u306ePowerShell\u306a\u3069\u304b\u3089root\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001passwd\u30b3\u30de\u30f3\u30c9\u3067\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u3059\u3002WSL\u3067\u306a\u3089\u3067\u304d\u308b\u3068\u3044\u3046\u611f\u3058\u306e\u89e3\u6c7a\u7b56\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 PS> wsl -u root # \u4ee5\u4e0b\u304b\u3089\u306fWSL\u306e\u7ba1\u7406\u7528\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306broot\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3059 # passwd \u3082\u3057\u3001\u7ba1\u7406\u7528\u306eWS\u2026"}