[{"data":1,"prerenderedAt":79},["ShallowReactive",2],{"/2026/05/14-forgot-wsl-password":3},{"id":4,"title":5,"body":6,"date":70,"description":67,"extension":71,"meta":72,"navigation":73,"path":74,"robots":75,"seo":76,"stem":77,"__hash__":78},"posts/2026/05/14 forgot-wsl-password.md","14 Forgot Wsl Password",{"type":7,"value":8,"toc":66},"minimark",[9,18,21,33,35,42,44,51,53,61,63],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"forgot-wsl-password","Forgot WSL Password",[19,20],"br",{},[22,23,24,25],"p",{},"How to reset the password? If there's only one distribution, run ",[26,27,32],"code",{"className":28},[29,30,31],"bg-gray-200","p-2","rounded","wsl -u root",[19,34],{},[22,36,37,38],{},"If multiple, run ",[26,39,41],{"className":40},[29,30,31],"wsl -d \u003Cdistro> -u root",[19,43],{},[22,45,46,47],{},"Then run ",[26,48,50],{"className":49},[29,30,31],"passwd \u003Cusername>",[19,52],{},[22,54,55,56,60],{},"If you are not sure what your username is, usually ",[26,57,59],{"className":58},[29,30,31],"cat /etc/passwd"," can help.",[19,62],{},[22,64,65],{},"It should then prompt for new password.",{"title":67,"searchDepth":68,"depth":68,"links":69},"",2,[],"2026-05-14T00:00:00.000Z","md",{},true,"/2026/05/14-forgot-wsl-password",null,{"title":5,"description":67},"2026/05/14 forgot-wsl-password","O2Co9Myv16U5FdyU1Clt9tnivHEPklUWOXMlM74ZED8",1785167451476]