Reset Ubuntu user password | Ubuntu 20.04 | WSL2 | Windows 11

Поделиться
HTML-код
  • Опубликовано: 25 мар 2022
  • This video is going to be about how to reset the forgotten user’s password on the Ubuntu Linux which is installed as a Windows Subsystem for Linux in Windows 11. So, let’s get started.
    Before learning how to reset the password, we are going to understand the problem scenario. Let’s open the Ubuntu which I installed on the Windows 11 as a Windows subsystem for Linux. Let’s do something that requires the user’s password, for example sudo apt update. This command is used to update all the packages that are already installed on the Ubuntu Linux from it’s remote repository and requires an administrative privilege or the super user privilege. The user Enkripsan in the system is a super user, so it can run any administrative password but you will need to enter the password of the user. Don’t confuse, it’s not asking you to enter the root password but the user’s password which is currently logged in.
    We assume that, we have forgotten the password, we try entering the correct password for three times but we fail each time. Now, let’s learn how to reset the forgotten password.
    Open command prompt, type ubuntu2004 which means the version of the ubuntu that is 20.04, config - -default-user root. This will open the Ubuntu app with the default user logged in as root on its next launch. Now close the command prompt, open the Ubuntu Linux and here we can see by default it's logged in as the root user. Clearing the screen if we type LS space slash home we can see the user Enkripsan, we are going to reset the login password of this user. Type the command PASSWD space the username which in my case is Enkripsan, type the password, again the password is not visible while you are typing, retype the password to confirm. The password of the user encryption is now reset, and we can see the message from PSWD that the password updated successfully. Close this window of the virtual terminal of the Ubuntu app, again open the command prompt and type ubuntu2004 space config space dash, dash default dash user space the username which in my case is Enkripsan and hit enter.
    Now when you launch the Ubuntu Linux app next time, it will open up with the user Enkripsan logged in by default. Let's close this command prompt and check. As we can see, we are logged in as the user enkripsan.
    Now we know the password so we can run any task that requires end administrative privilege or the superuser privilege. Let's see by running the command sudo app update, it's asking for the password of the user Enrkipsan, so type the password and hit enter, we can see the command execution continues.
    OK guys, this is how we can reset a user's password in Ubuntu 20.04 which is installed on the windows 11 as a windows subsystem for Linux, that's all for this video I hope the video was useful to you, please subscribe our channel and hit the bell icon thanks for watching see you on other videos till then have a nice time goodbye.
  • НаукаНаука

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

  • @abhityagi6562
    @abhityagi6562 Год назад +36

    for those the ubuntu2004 command fails try this --> ubuntu config --default-user root

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

    I'm very happy that I got this video. I searched a lot for changing password but every video I got was somewhat incomplete or irrelevant.
    Thank you bro you solved my problem in just 5 minutes 👍

  • @Shivottmam
    @Shivottmam 4 месяца назад +3

    First video on searching the topic and I could change my Ubuntu password just in 5 minutes. Very good bro!! Thanks

    • @Enkripsan
      @Enkripsan  4 месяца назад +1

      Glad it worked. Most welcome.

  • @praveendubey5981
    @praveendubey5981 Год назад +3

    some of the videos were too complicated where they were asking to install unnecessary applications to reset the password. but i reset my password while playing your video within 5 mins

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

      Happy to hear ! Thank you 🙂

  • @AbdulBasit-vx5vs
    @AbdulBasit-vx5vs Год назад +4

    Thanks man. Saved me the trouble of wiping off the data and reinstalling ubuntu. Thanks a big time.

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

    Bro you are the best. Everything worked smoothly. Thanks a lot

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

      You're most welcome!!

  • @PollynzDataTech
    @PollynzDataTech 2 месяца назад

    Thank you so much for this video. It works, other video as taking so many unnecessary steps. I appreciate you

  • @OshMax
    @OshMax 3 месяца назад +1

    this was perfect for the problem I was having, thank you so much.
    I couldn't boot ubuntu in recovery mode like everything else was saying

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

    Bro you are perfect to figure it out. it totally works. thanks

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

    My man, you've just gained a subscriber! Thank you so much!

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

      how does it work rn? i cant get into the root

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

      @@wubdup It works fine. Please follow the video.

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

      @@wubdup i wrote "ubuntu" instead of "ubuntu2004" and it worked

  • @danielmortada3362
    @danielmortada3362 6 месяцев назад +1

    Works perfectly !! thanks man you litterally saved me here xD 🔥

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

      Most welcome. Many thanks for your comment.

  • @ShrutiSharma-nf2gs
    @ShrutiSharma-nf2gs 2 месяца назад

    Thanks a lot. This was exactly what I was looking for.

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

    Please make video for 22.04.1 Ubuntu how to fix this problem

    • @vinothvelu8927
      @vinothvelu8927 10 месяцев назад +3

      Just put 2204 instead of 2004, it works for me

    • @imRJD14
      @imRJD14 8 месяцев назад

      Remove the version code and just type ububtu instead of ubuntu2004

  • @michaellee6713
    @michaellee6713 Год назад +15

    This seriously saved me so much time, dude thank you so much!

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

      Most welcome

    • @Ghostrider-gz1tf
      @Ghostrider-gz1tf Год назад

      ​@@Enkripsanubuntu 2204 version how

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

      ​@@Ghostrider-gz1tfsame problem

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

      just type "ubuntu..." command like him but without version
      like "ubuntu --default-user "
      @@Ghostrider-gz1tf

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

      @@parallel3886 Here is the vidoe- ruclips.net/video/1fpc9TL5bBo/видео.htmlsi=_EcfmEXs4vDgwAiS

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

    This worked perfectly thank you so much!!

  • @user-mb4oh3sc7t
    @user-mb4oh3sc7t Год назад +8

    'ubuntu2004' is not recognized as an internal or external command,
    operable program or batch file
    how do I fix this?

  • @user-po8xv5ki3t
    @user-po8xv5ki3t 11 месяцев назад +1

    Legit great! this video worked for me thank you so much.

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

      Most welcome

  • @user-iw1bk2cz2r
    @user-iw1bk2cz2r 7 дней назад

    thanks for helping!!! im so grateful to find this video

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

    Thank you so much, it worked! I was really struggling

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

      You're welcome! Glad it worked.

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

    Thank you so much. You helped me at the right time.

    • @Enkripsan
      @Enkripsan  2 месяца назад

      Glad I could help!

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

    Thank You! Worked perfectly

  • @flexworld9224
    @flexworld9224 5 месяцев назад +1

    You're a lifesaver, I just subscribed to your channel

  • @user-j23
    @user-j23 Год назад +3

    thank you! this tutorial is a lifesaver

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

    Awesome, thank you!

  • @yundixiao7059
    @yundixiao7059 4 месяца назад +1

    True life saver! Simple procedure everyone can follow, lots of thanks!

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

      Most welcome

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

      Most welcome...Thanks

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

    Excellent work.... Power is Linux is inevitable.....Thanks buddy!

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

    thanks you so much... perfectly working

  • @tolu-john
    @tolu-john Год назад +1

    Thank you so much. This video saved me a lot time

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

    good man , you save my life. i gonna give you some support maaaaaaaaaa homie

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

    Thanks man...it worked!

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

    thank you , i was searching for 1 h, thanks

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

    Thank you so much.This solved my problem 😊

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

      Most welcome! Glad to hear.

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

    life saver it took me three weeks to figure out how to change passwordd

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

    thanku bhai it help me ..

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

    You just saved my thesis, Thank you so much

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

    Thank you so much, it really help me out to change my ubuntu user password.

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

      You're most welcome!!

  • @linkjp934
    @linkjp934 8 месяцев назад +1

    Thank u verymuch for successful easy instruction

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

    it's working thank you so much you are life saver

  • @sapnendra
    @sapnendra 25 дней назад

    Thank you really it helped me😀

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

    thank you so much after researching so much i got u

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

    You are the best dude.. Thanks a lot..... 🎉🎉🎉🎉🎉🎉

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

    hello in command prompt (terminal) its not working, ("ubuntu22.04" is not internal or external
    command, executable program, or batch file.) it gives this error :(((

  • @serenasinha5431
    @serenasinha5431 5 месяцев назад +1

    Bro ! My ubuntu version is 22.04.1. and i tried to write it like ubuntu 2204 and ubuntu22041 also but it shows error saying " 'ubuntu22041' is not recognised as an internal or external command,operable program or batch file .
    Pls help me out

    • @gamerclan402
      @gamerclan402 5 месяцев назад +1

      just type : ubuntu config --default-user

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

      Thanks for sharing.

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

    it's not working fro me
    it's showing like
    " C:\Users\vijay>ubuntu2004 config --default-user root
    'ubuntu2004' is not recognized as an internal or external command,
    operable program or batch file. "

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

      Dont use ubuntu2004, instead use ubuntu.exe

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

    Definitely life saver!

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

    What I need to do for windows 10

  • @aliriomieres5389
    @aliriomieres5389 6 месяцев назад +1

    Thanks. This helped me a lot.

    • @Enkripsan
      @Enkripsan  6 месяцев назад +1

      Most welcome

  • @DearSadiq47
    @DearSadiq47 5 месяцев назад +2

    You saved my time dude.
    Thank You.
    Regards Dear Sadiq.

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

      Glad it helped.

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

    Simple but reliable 👍

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

    You're a life saver.

  • @huyle9635
    @huyle9635 10 месяцев назад +1

    thank you sir, u saved me lot of time 😃

    • @Enkripsan
      @Enkripsan  10 месяцев назад +1

      Most welcome

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

    Thanks bro u saved me and my future generation coz i was about to go crazy😂

  • @Dr.Vichitra_101
    @Dr.Vichitra_101 Год назад

    Bro it is showing like root@Om.. but I don't know why it didn't ask for password
    What should I do to fix this

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

    You’re a life saver
    Thanks 😊

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

      You're most welcome!!

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

    This was helpful thank you

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

      Glad it was helpful!

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

    Worked. Thank you.

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

    THANKYOU SIR, ITS VERY HELPFULL FOR US

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

      You're most welcome!!

  • @nuranranawaka1451
    @nuranranawaka1451 8 месяцев назад +1

    Thanks man!

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

    Very Helpful video thanks 👍

  • @gowthamchowdam262
    @gowthamchowdam262 Год назад +8

    but i had dowloaded 22.04.1. can you tell me what is the command for this version?

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

      I have the same problem. Have you resolved it?

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

      @@athirah1619 dude I have the same problem. Did u manage to resolve it?

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

      I have same problem can you help me

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

      I stuck with same problem. Any idea guys

    • @jupiter1396
      @jupiter1396 Год назад +3

      Instead of 2004 u can type 2204 and everything is the same ...sure It will work...

  • @user-ok2iy5qe1n
    @user-ok2iy5qe1n 4 месяца назад +1

    Thanks bro!, you save my live

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

      Most welcome. Glad I could help you.

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

    Thank you Enkripsan!

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

    01:41
    when i enter ubuntu2204 config --default-user root
    it says
    'ubuntu2204' is not recognized as an internal or external command,
    operable program or batch file.

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

      plz watch the video full, I think you will get your answer within the video. Thanks for watching and commenting.

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

      Dont use ubuntu2004, instead use ubuntu.exe

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

    thanks, was easy , you are a master

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

    thank u so much bro,.... you've save my time

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

    Thanks for the video !!!

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

    Thank you mate

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

    Thank you!

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

    very helpful ,thank you veru much

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

    thank you so much brother!

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

    Thank you soo much sir

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

    hey bro thanks so much.🙏

  • @ravirakesh-qj4nk
    @ravirakesh-qj4nk 8 месяцев назад +2

    thanks man

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

    thank you very much sir!

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

      Most welcome!

  • @midnight664
    @midnight664 22 дня назад

    Thank you SIR

  • @deiling5034
    @deiling5034 8 месяцев назад +1

    Man, you rock...

  • @bullymaguire008
    @bullymaguire008 16 дней назад +1

    Love you bro

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

    Can we use this on terminal

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

    Thankyou so much sir

  • @user-ec6iw1pj7r
    @user-ec6iw1pj7r 6 месяцев назад

    Awesome Video!!

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

    Thank you!!!

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

    Thanks a lot man.

  • @12345abcd_qwerty
    @12345abcd_qwerty Год назад +1

    Thanks a lot for this video.

  • @muhammadaaftabfiaz6699
    @muhammadaaftabfiaz6699 6 месяцев назад +1

    my cmd is not able to recognize command "ubuntu2204 config --default-user root". Could you please tell me what to do now. I would be very grateful to you..

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

      hello, if you are using a newer version, you don't need to type in the version, just ubuntu is required, so type in "ubuntu config --default-user root"

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

      Thanks for helping out !!

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

    Thank you so much 🙏 It worked

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

      You're most welcome!!

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

    Thankyou very much .

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

    This solved my problem 😊

  • @annalisa.boerner
    @annalisa.boerner 11 месяцев назад

    Thank you! Lifesaver

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

      You're most welcome!!

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

    Thanks alot really appreciate

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

    Really thank you brooohhhh....❤

  • @user-bj3du1yi1j
    @user-bj3du1yi1j 5 месяцев назад +1

    Thank, This is usefull

  • @user-hp3ww6tb8z
    @user-hp3ww6tb8z 11 месяцев назад +1

    awesome, thanks!!

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

    This video is a life saver.😅

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

    ive done it thank youu sooo much uuuuuuuuuuuuuuuuuuuaaaaaaaaaaaaoooooooooo :D

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

    I don't know my Ubuntu version please help me

  • @user-vj1zi3kq2d
    @user-vj1zi3kq2d 5 месяцев назад

    I don't have cmd because my system was completely installed with ubuntu now how can i reset the password

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

      You need to follow other way.

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

    When I type the ubuntu2004 config -default-user root it says ‘ubuntu2004’ is not recognized as an internet or external command please help

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

    how to know which version of ubuntu do i have?

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

      Hi Ghostify, you can run the command 'cat /etc/os-releas'. Thanks for the comment.

  • @user-gf3fw9hg4d
    @user-gf3fw9hg4d 8 месяцев назад +1

    Excellent

    • @Enkripsan
      @Enkripsan  8 месяцев назад

      Thank you very much.

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

    Thank you still helpfull