Reset Forgotten Ubuntu Linux Password on WSL

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 652

  • @bobijesalmon7
    @bobijesalmon7 2 года назад +15

    Works great for me. However, had to use "ubuntu config --default-user root" as opposed to "ubuntu2004 config --default-user root" even though 20.04 is my actual version as well. But great help.

    • @sandhya4719
      @sandhya4719 2 года назад

      Thank you thank you thank you..

    • @bobijesalmon7
      @bobijesalmon7 2 года назад

      @@sandhya4719 you're welcome

    • @dracomalfoy6207
      @dracomalfoy6207 Год назад

      Thanks, this worked for me!!

    • @Mee7696
      @Mee7696 9 месяцев назад +1

      You’re a lifesaver 😂❤❤❤

  • @adamhinsane
    @adamhinsane 2 года назад +20

    Thank you this is like the fifth one I've watched and I finally found a tutorial that worked!

    • @Itsfoss
      @Itsfoss  2 года назад

      Happy to be of help :)

  • @wesam4470
    @wesam4470 2 года назад +30

    Short, simple, and extremely helpful. You saved us hours of search through the internet. Thank you so much!

  • @syedabdullah1331
    @syedabdullah1331 Год назад +4

    Commenting to help the algorithm. Simple and clear instructions, and straight to the point. Love this.

  • @alexkumar7062
    @alexkumar7062 2 года назад +2

    Video is very good but it didn't work for me.
    I ran the command ubuntu2004 config --default-user root
    But when I opened WSL it didn't switch to root
    It still started with my default userid "mk8s" which is not rook so could not change the password

  • @raaghavendrahm4883
    @raaghavendrahm4883 2 года назад +4

    Thank you, buddy! The only tutorial that worked at the first shot!

  • @fjjosh2569
    @fjjosh2569 Месяц назад

    great help , after struggling for about 2hrs going through different sites with no positive outcome. Thank you are making the world a difference I now have a new skill under my belt

  • @bejaises1
    @bejaises1 7 месяцев назад +1

    Wonderful, i have an open ticket from a user who needs this done, if anyone is getting the "Not Recognized as an Internal or External Command" just use ubuntu in the command without the version number tagged on, works perfectly

    • @Itsfoss
      @Itsfoss  7 месяцев назад

      Thanks for the suggestion :)

  • @alkarani01
    @alkarani01 2 года назад +1

    Just " ubuntu config --default-user root " worked for me. I have ubuntu 20.04.1. Thanks alot.

    • @Itsfoss
      @Itsfoss  2 года назад

      You are welcome, Alka.

  • @final_friday
    @final_friday 11 месяцев назад +1

    Exactly what I needed! Clear, to the point, works. Thank you!

    • @Itsfoss
      @Itsfoss  11 месяцев назад

      You are welcome :)

  • @bukolatestimony
    @bukolatestimony 2 года назад +3

    The best solution for me so far. I have checked several. THANK YOU SO MUCH.

  • @SadhamHussainsree
    @SadhamHussainsree 2 года назад +1

    Thank you so much.I searched multiple websites to resolve this,but just a 3 minutes video solved my problem.Thanks a lot.Keep up the good work.

    • @Itsfoss
      @Itsfoss  2 года назад +2

      Happy to be of help, Sadham.

    • @Pravin33unique95
      @Pravin33unique95 Год назад

      Sir please make video for 22.04.1

  • @Josh-id4zv
    @Josh-id4zv Год назад +4

    Extremely helpful and easy to follow tutorial. Thanks!

  • @ankitparekh1537
    @ankitparekh1537 2 года назад

    after R&D I got a real video thanks man..other all videos are fake...your video completely worked.

    • @Itsfoss
      @Itsfoss  2 года назад

      Glad it worked for you, Ankit.

  • @ridwaanullaahadebayo9987
    @ridwaanullaahadebayo9987 2 года назад +3

    thanks, worked like magic
    and your explanation was very friendly too. thanks again

  • @altomhussain771
    @altomhussain771 Год назад

    I was able to update my password successfully only following your steps. Very clear instructions Thanks you very much, appreicated a lot brother.

    • @Itsfoss
      @Itsfoss  Год назад

      Thanks for the appreciation, Altom :)

  • @oopkennaoof
    @oopkennaoof 2 года назад +2

    Very easy to follow step-by-step instructions, and worked for me! Thanks so much.

    • @Itsfoss
      @Itsfoss  2 года назад

      You are welcome

  • @icarous_1977
    @icarous_1977 Год назад

    I love this video, it was exactly what I need and I didn't have to listen the full history of Linux as an Intro of the video

    • @Itsfoss
      @Itsfoss  Год назад +1

      You are welcome :)

  • @habibmukus4696
    @habibmukus4696 Год назад +1

    I wish all tutorials were as simple as this one. thanks a lot

  • @aditya-garg
    @aditya-garg Год назад

    Thanks, used this in cmd though:
    (assuming I am in C:\Users\username)
    AppData\Local\Microsoft\WindowsApps\Ubuntu2004 config --default-user root
    And this helped me to change password for root.
    passwd root

  • @VeXHarbinger
    @VeXHarbinger 5 месяцев назад

    Thank you SO very much man. A+ walkthrough, short, direct, n simple.

    • @Itsfoss
      @Itsfoss  5 месяцев назад

      Glad you found it useful :)

  • @LuffyMonkey0327
    @LuffyMonkey0327 2 года назад

    omg thank you so much. i am new to ubuntu and linux, and i needed to set up ubuntu for a school course. i was not expecting that the password when you entered it would not show, so i entered in a password that wasnt the password i actually wanted to create, so i was trying to figure out how to reset the password. there were so many articles and videos online that were complicated and complex and didnt get straight into the solution, but your video did. your video was simple and to the point and i was able to fix it in a few minutes. thank you so much for your help

    • @Itsfoss
      @Itsfoss  2 года назад

      I am glad to be of help. Enjoy Linux :)

  • @wilfriedvanhees
    @wilfriedvanhees Год назад +1

    Thanks. A clear, short, and to the point explanation

  • @edwardhoskins9615
    @edwardhoskins9615 2 года назад +1

    Hello Luss! You are a angle man! You get right into this problem, very specific. Thank you so much for the video, and I hope you continue with your channel godly😊 computer advice

    • @Itsfoss
      @Itsfoss  2 года назад +1

      Glad you found it useful, Edward. If you haven't already, please do subscribe :)

  • @likevideo00
    @likevideo00 2 года назад

    Thanks, very helpful, simple. For me ubuntu2004 does not work, " ubuntu config --default-user root " it worked. Good luck👌👌

    • @Itsfoss
      @Itsfoss  2 года назад

      Glad you used the right command :)

  • @way_past_5380
    @way_past_5380 7 месяцев назад

    The most reliable and easy to implement method to recover WSL password. THANK YOU!!!💯

    • @Itsfoss
      @Itsfoss  7 месяцев назад

      You are welcome :)

  • @Panucci75
    @Panucci75 2 года назад +3

    This was extremely helpful. Thank You Very Much Sir!!!

  • @lukakm1139
    @lukakm1139 Год назад +2

    Got straight to the point and made the steps clear. Thank you.

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it useful, Luka. If you haven't already, please do subscribe :)

  • @vanillamagician8405
    @vanillamagician8405 Год назад

    Amazing! Saved me so much time digging around to reset an old password for a wsl user. You are a godsend sir.

    • @Itsfoss
      @Itsfoss  Год назад

      Just happy to be of help :)

  • @MrOrcpro
    @MrOrcpro 9 месяцев назад

    Very useful and straightforward. Thanks a lot, man!

    • @Itsfoss
      @Itsfoss  9 месяцев назад +1

      Happy to be of help :)

  • @AllisonSimonds
    @AllisonSimonds Год назад

    Awesome Thank-you. very helpful tried other sources for several hrs. Yours was the best and easiest

  • @_REcon_
    @_REcon_ 9 месяцев назад

    incredibly straightforward and amazing!
    Thanks a lot!

    • @Itsfoss
      @Itsfoss  9 месяцев назад

      Glad you found it useful :)

  • @faridwajdi4774
    @faridwajdi4774 4 месяца назад

    You saved my life man. the solution just took me a minute to do. Thank you very much.

    • @Itsfoss
      @Itsfoss  4 месяца назад

      Happy to be of help :)

  • @RepublicOfWesternCanadaNOW
    @RepublicOfWesternCanadaNOW Год назад

    Thank you. Very helpful, I have zero experience in anything related to this, and my problem was solved right away!

  • @cesarrago2538
    @cesarrago2538 2 года назад

    Worked like a charm! Thumbs up and subscribed!

    • @Itsfoss
      @Itsfoss  2 года назад

      Thanks for the subscribe :)

  • @agustinabl821
    @agustinabl821 Год назад

    Amazing! It was the only tutorial that worked for me, thank you so much!!

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to be of help :)

  • @smichelleherrera9282
    @smichelleherrera9282 Год назад

    You just got another follower. Easy and clear steps. Thank you so much!

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to be of help, Michelle :)

  • @naraharimarneni1089
    @naraharimarneni1089 2 года назад +2

    Thanks. It is very clear and simple.

  • @rutaremarawilson4188
    @rutaremarawilson4188 3 месяца назад

    This video is very helpful and directs well all procedures.
    Thank you.

    • @Itsfoss
      @Itsfoss  3 месяца назад

      Welcome :)

  • @AmritZoad
    @AmritZoad Год назад

    For those on Windows 11 and the first step is not working, try using: "ubuntu" instead of "ubuntu2004" as shown in this video.

  • @user-oj5ph8ih8h
    @user-oj5ph8ih8h 7 месяцев назад

    Straight to the point. Thank you!

    • @Itsfoss
      @Itsfoss  7 месяцев назад

      Welcome :)

  • @doublded2257
    @doublded2257 2 года назад

    3 minute solve everything i looking for a week. :D thax bro

    • @Itsfoss
      @Itsfoss  2 года назад

      Happy to be of help :)

  • @kirantondchore6932
    @kirantondchore6932 Год назад

    Extremely helpful and easy to follow tutorial. Thank You !👍

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it useful :)

  • @pcfields
    @pcfields 2 года назад +1

    Works like a dream. Thank you!

    • @Itsfoss
      @Itsfoss  2 года назад

      You are welcome

  • @Mark-iq5jr
    @Mark-iq5jr Год назад

    Thanks very much for the easy explanation - helped me out of a loop I was in with the sudo cmmand :)

  • @vogendo7377
    @vogendo7377 Год назад

    Same comment than Wesam: many thanks for this quite useful share !

  • @diegoperez7345
    @diegoperez7345 2 года назад

    The only tutorial that worked !!

  • @sharathjbhushi3747
    @sharathjbhushi3747 Год назад

    Thanks a ton bro!! You really are a savior to quite many of us here! Wishing you all the best in life!

    • @Itsfoss
      @Itsfoss  Год назад

      Thanks for the kind words, Sharath.

  • @m4_thednblab397
    @m4_thednblab397 2 года назад

    easily the best and easiest route on youtube. thanks man!

  • @joejazzer
    @joejazzer 2 года назад

    OOOOOOOOf You helped a lot. Thank you.
    I just needed the ubuntu distribution to create a password hash for my honarery office work at my universety. It is kind of anoing to need this much information, because I got caught up in the set up process.

  • @alfaralph7710
    @alfaralph7710 2 года назад

    Thanks from the USA!

    • @Itsfoss
      @Itsfoss  2 года назад +1

      Welcome, Ralph :)

  • @EricHG-gz5wo
    @EricHG-gz5wo Год назад

    Very simple steps and working fine for me, Thank you for sharing.

    • @Itsfoss
      @Itsfoss  Год назад

      Glad to be of help, Eric :)

  • @pratyushamrit8895
    @pratyushamrit8895 Год назад

    Bro amazing work , just 3 min video but worked like wonder

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it useful, @pratyushamrit8895. We try to be on point with most of our videos because that is exactly the kind of videos we like watching. If you haven't already, please do subscribe :)

  • @dikshantgupta5539
    @dikshantgupta5539 Год назад

    very concise and helpful videos. Thank you so much

    • @Itsfoss
      @Itsfoss  Год назад

      You are welcome, Diskhant.

  • @victorrivera8571
    @victorrivera8571 2 года назад +1

    Thank you brotha! Easy to follow : )

    • @Itsfoss
      @Itsfoss  2 года назад

      Glad you found it useful, Victor. If you haven't already, please do subscribe :)

  • @maheshsamant
    @maheshsamant Год назад

    short and simple. thanks

  • @hirenjoshi2198
    @hirenjoshi2198 3 месяца назад

    Thank you bro! This is very useful and saved my lots of time.

    • @Itsfoss
      @Itsfoss  3 месяца назад

      Glad it helped you :)

  • @carolinaramirez105
    @carolinaramirez105 2 года назад

    THANK YOU SO MUCH, YOU'VE NO IDEA HOW GRATEFUL I AM

    • @Itsfoss
      @Itsfoss  2 года назад

      Just happy to be of help :)

  • @denisrotov6951
    @denisrotov6951 11 месяцев назад

    amazing, concise and effective! thanks a lot!

    • @Itsfoss
      @Itsfoss  11 месяцев назад

      You are welcome :)

  • @user-hs3cj8fl8k
    @user-hs3cj8fl8k Год назад

    Awesome video, helped me out tremendously thanks!

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to have helped, @user-hs3cj8fl8k. Please do subscribe :)

  • @vanisreesreedhar5420
    @vanisreesreedhar5420 Год назад

    Very easy and simple. Thank you very much

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it helpful :)

  • @kumaresanramalingam9557
    @kumaresanramalingam9557 Год назад

    Very Helpful. It is working fine.. Great Thanks

  • @EngineeringVignettes
    @EngineeringVignettes Год назад

    *Note:* Command (unbuntu2004 or other) may not be found.
    SOLUTION: The WSL2 applications are usually saved into your AppData\Local directory. change directory to "%userprofile%\AppData\Local\Microsoft\WindowsApps" (does not work in a powershell, use "cmd") and list the contents of this directory. You will find the WSL2 VM image executables there. This directory may not be in your systems PATH environmental variable, so run the program from this directory.
    Cheers,

  • @KeeganWoodward
    @KeeganWoodward Год назад

    Thanks! Worked perfectly!

    • @Itsfoss
      @Itsfoss  Год назад

      Awesome! Enjoy it :)

  • @luizross9711
    @luizross9711 7 месяцев назад +1

    So much love for you, biggest webfriend of mine right now saved me from a sea of tears

    • @Itsfoss
      @Itsfoss  7 месяцев назад

      Happy to be of help, my friend :)

  • @MrPancakeEngine
    @MrPancakeEngine Год назад

    You saved me a massive headache. Thanks for this video! 👍

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to be of help :)

  • @mayank_sa
    @mayank_sa 2 года назад

    thanks bro!! really helpful video

  • @christianndouyangdoba8024
    @christianndouyangdoba8024 2 года назад

    Thank you so much! It's fully working !

    • @Itsfoss
      @Itsfoss  2 года назад

      Awesome! Enjoy it :)

  • @delengr1026
    @delengr1026 Год назад

    Awesome. Changed it. Thanks so much.

  • @galcesana8603
    @galcesana8603 Год назад

    You're a true champion! Thanks!

    • @Itsfoss
      @Itsfoss  Год назад

      Just trying to be helpful :)

  • @LudoAkaLeMexicain
    @LudoAkaLeMexicain Год назад

    Thanks a lot ! it was very simple with this Tutorial !!! ^^

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you liked it :)

  • @Dylster501
    @Dylster501 Год назад

    Excellent video 10/10!

  • @DBSKcassiopeiaofxiah
    @DBSKcassiopeiaofxiah Год назад

    simple and effective. Thank you so much!!!

  • @babybeastchaeng
    @babybeastchaeng Месяц назад

    Thank you so much! It was very helpful video.

    • @Itsfoss
      @Itsfoss  Месяц назад

      Glad you found it helpful :)

  • @heigthew
    @heigthew Год назад

    Thank you very clear and helpful !!

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it helpful :)

  • @norbharrison6371
    @norbharrison6371 Год назад +1

    It can be done in a few seconds with nothing more than a text editor.
    Simply open a console and run:
    cd %userprofile%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_*\LocalState
    ootfs\etc
    notepad shadow
    Then remove the password hash between the 1st and 2nd colon of your user. Then save the file.
    Voilà!

  • @fket7565
    @fket7565 6 месяцев назад

    Thank you so much!! SO helpful!

    • @Itsfoss
      @Itsfoss  6 месяцев назад

      You are welcome :)

  • @christopherortiz4971
    @christopherortiz4971 Год назад

    Really helpful. Thank you

  • @michaelchiz8055
    @michaelchiz8055 11 месяцев назад

    It was very helpful. Thank you

    • @Itsfoss
      @Itsfoss  11 месяцев назад

      glad it helped you

  • @farihazaman2624
    @farihazaman2624 Год назад

    Sir! You are a life savior... Thank you so much!!

    • @Itsfoss
      @Itsfoss  Год назад

      Just trying to obe of help :)

  • @davidalejandrodelosreyesos146
    @davidalejandrodelosreyesos146 11 месяцев назад

    Thank you. you saved a fellow coder!

    • @Itsfoss
      @Itsfoss  11 месяцев назад

      Always happy to be of help :)

  • @ticubogdan4236
    @ticubogdan4236 2 года назад

    Yeah that was so helpful thank you bro!

    • @Itsfoss
      @Itsfoss  2 года назад

      You are welcome

  • @henriquehanes2204
    @henriquehanes2204 2 года назад

    Saved again!! by a genius indian!

    • @Itsfoss
      @Itsfoss  2 года назад

      Won't call myself genius ;) Just trying to help :)

  • @rickymacharm4426
    @rickymacharm4426 Год назад

    Thanks I just reset mine phew...you are a life saver

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to be of help, Ricky :)

  • @maheshsurwase628
    @maheshsurwase628 2 года назад

    Thank You Bro...you helped me in just 3 min...

  • @aayushijha6720
    @aayushijha6720 2 года назад

    Thankyou so much! this was really helpful

    • @Itsfoss
      @Itsfoss  2 года назад

      Glad you found it helpful :)

  • @letlaka8812
    @letlaka8812 5 месяцев назад

    This helped me out a lot, thank you.

    • @Itsfoss
      @Itsfoss  4 месяца назад

      You are welcome :)

  • @VictorCastilla-ws2nz
    @VictorCastilla-ws2nz Год назад

    Thankss a lot !!!! Short & simple!!

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you liked it :)

  • @ayoubmentag9883
    @ayoubmentag9883 2 года назад

    That was very simple .. Thanks :)

  • @user-jf3dk7ur3z
    @user-jf3dk7ur3z 2 года назад

    Thank you, simple and helpful
    In my case command was "ubuntu"

    • @Itsfoss
      @Itsfoss  2 года назад +1

      Glad you found it useful :)

  • @sezginsefer3741
    @sezginsefer3741 Год назад +1

    Life saver tutorial.

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you found it helpful :)

  • @Nunu_101
    @Nunu_101 2 года назад

    thank you , this was really helpful :)

    • @Itsfoss
      @Itsfoss  2 года назад

      Glad you found it helpful :)

  • @EnmaDev
    @EnmaDev Год назад

    easy and fast tutorial, thanks you.

  • @gani7485
    @gani7485 5 месяцев назад

    Thank you Bro, It worked well and I'm able to reset my wsdl forgotten pwd... 🤠

    • @Itsfoss
      @Itsfoss  4 месяца назад

      Happy to be of help :)

  • @mmanapemanamela1935
    @mmanapemanamela1935 Год назад

    Great video and explanation

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you liked it :)

  • @evanssemanhyia1094
    @evanssemanhyia1094 10 месяцев назад

    Very helpful. Thanks.

    • @Itsfoss
      @Itsfoss  9 месяцев назад

      Welcome :)

  • @ildottorerick
    @ildottorerick Год назад

    thanks a lot my friend you helped me to restart my ubuntu password, bless you

    • @Itsfoss
      @Itsfoss  Год назад

      Happy to be of help :)

  • @wendyatieno9190
    @wendyatieno9190 10 месяцев назад

    thank you. very straight forward

    • @Itsfoss
      @Itsfoss  10 месяцев назад

      Welcome :)

  • @kalmabrooks978
    @kalmabrooks978 2 года назад

    Thanx I have successfully managed to reset my password 🔥✋🏾

  • @ElielMorales
    @ElielMorales Год назад

    Excelente explicación. Sencilla y funcional. Gracias.

    • @Itsfoss
      @Itsfoss  Год назад

      Glad you liked it :)