Тёмный

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

Enkripsan
Подписаться 4 тыс.
Просмотров 78 тыс.
50% 1

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.

Наука

Опубликовано:

 

25 мар 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 366   
@abhityagi6562
@abhityagi6562 Год назад
for those the ubuntu2004 command fails try this --> ubuntu config --default-user root
@Enkripsan
@Enkripsan Год назад
Thanks for your suggestion.
@niloo195
@niloo195 Год назад
Thanks! It helped me.
@abdellahizem
@abdellahizem 6 месяцев назад
i love you bro
@serenasinha5431
@serenasinha5431 5 месяцев назад
ubuntu command not found
@anuragdongre8141
@anuragdongre8141 2 месяца назад
Thank you
@its_anshu9398
@its_anshu9398 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 👍
@Enkripsan
@Enkripsan 3 месяца назад
Glad it helped.
@Shivottmam
@Shivottmam 4 месяца назад
First video on searching the topic and I could change my Ubuntu password just in 5 minutes. Very good bro!! Thanks
@Enkripsan
@Enkripsan 4 месяца назад
Glad it worked. Most welcome.
@praveendubey5981
@praveendubey5981 2 года назад
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 2 года назад
Happy to hear ! Thank you 🙂
@AbdulBasit-vx5vs
@AbdulBasit-vx5vs Год назад
Thanks man. Saved me the trouble of wiping off the data and reinstalling ubuntu. Thanks a big time.
@ajaygoel1860
@ajaygoel1860 Год назад
Same feeling..
@Enkripsan
@Enkripsan Год назад
Glad it helped
@KiffenBeats
@KiffenBeats 11 месяцев назад
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 месяца назад
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
@Enkripsan
@Enkripsan 3 месяца назад
Most welcome
@alisaidbas
@alisaidbas Год назад
Bro you are perfect to figure it out. it totally works. thanks
@sebastianosalarin8925
@sebastianosalarin8925 Год назад
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
@ShrutiSharma-nf2gs
@ShrutiSharma-nf2gs 2 месяца назад
Thanks a lot. This was exactly what I was looking for.
@danielmortada3362
@danielmortada3362 6 месяцев назад
Works perfectly !! thanks man you litterally saved me here xD 🔥
@Enkripsan
@Enkripsan 6 месяцев назад
Most welcome. Many thanks for your comment.
@Pravin33unique95
@Pravin33unique95 Год назад
Please make video for 22.04.1 Ubuntu how to fix this problem
@vinothvelu8927
@vinothvelu8927 10 месяцев назад
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 Год назад
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- ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1fpc9TL5bBo.htmlsi=_EcfmEXs4vDgwAiS
@RiftRunnersWR
@RiftRunnersWR 2 года назад
This worked perfectly thank you so much!!
@Enkripsan
@Enkripsan 2 года назад
Most welcuome !
@user-mb4oh3sc7t
@user-mb4oh3sc7t Год назад
'ubuntu2004' is not recognized as an internal or external command, operable program or batch file how do I fix this?
@thatguytan
@thatguytan Год назад
this also shows up on mine, did you find a fix?
@mohabmohamed6766
@mohabmohamed6766 6 месяцев назад
I think because of the version of Ubuntu is different
@flexworld9224
@flexworld9224 5 месяцев назад
Same problem am facing 😢
@Luis-Fernando19
@Luis-Fernando19 4 месяца назад
just use: ubuntu config --default-user root
@subscriberswithoutnovide-ey1nv
@subscriberswithoutnovide-ey1nv 3 месяца назад
@@Luis-Fernando19thanksss bro
@user-po8xv5ki3t
@user-po8xv5ki3t 11 месяцев назад
Legit great! this video worked for me thank you so much.
@Enkripsan
@Enkripsan 11 месяцев назад
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 месяцев назад
You're a lifesaver, I just subscribed to your channel
@Enkripsan
@Enkripsan 5 месяцев назад
Thanks
@user-j23
@user-j23 Год назад
thank you! this tutorial is a lifesaver
@Enkripsan
@Enkripsan Год назад
Most welcome
@mariabarrios8549
@mariabarrios8549 2 года назад
Awesome, thank you!
@yundixiao7059
@yundixiao7059 4 месяца назад
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!
@Enkripsan
@Enkripsan Год назад
Most welcome
@Sumit_Kumar_I
@Sumit_Kumar_I Год назад
thanks you so much... perfectly working
@Enkripsan
@Enkripsan Год назад
Most welcome
@tolu-john
@tolu-john Год назад
Thank you so much. This video saved me a lot time
@Enkripsan
@Enkripsan Год назад
Most welcome!
@leejianxing4872
@leejianxing4872 Год назад
good man , you save my life. i gonna give you some support maaaaaaaaaa homie
@Enkripsan
@Enkripsan Год назад
Most welcome
@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 Год назад
life saver it took me three weeks to figure out how to change passwordd
@Enkripsan
@Enkripsan Год назад
Glad I could help
@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 месяцев назад
Thank u verymuch for successful easy instruction
@Enkripsan
@Enkripsan 8 месяцев назад
Most welcome
@minecraft2048bitgame
@minecraft2048bitgame Месяц назад
it's working thank you so much you are life saver
@sapnendra
@sapnendra 25 дней назад
Thank you really it helped me😀
@ErrorDam
@ErrorDam Год назад
thank you so much after researching so much i got u
@Enkripsan
@Enkripsan Год назад
Most welcome
@manudasmd
@manudasmd Год назад
You are the best dude.. Thanks a lot..... 🎉🎉🎉🎉🎉🎉
@Enkripsan
@Enkripsan Год назад
Most welcome
@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 :(((
@rakhmatilla7618
@rakhmatilla7618 Год назад
could you help me please ?!
@serenasinha5431
@serenasinha5431 5 месяцев назад
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 месяцев назад
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 Год назад
Dont use ubuntu2004, instead use ubuntu.exe
@yasemincaliskan5524
@yasemincaliskan5524 Год назад
Definitely life saver!
@saikumarsanagala2960
@saikumarsanagala2960 Год назад
What I need to do for windows 10
@aliriomieres5389
@aliriomieres5389 6 месяцев назад
Thanks. This helped me a lot.
@Enkripsan
@Enkripsan 6 месяцев назад
Most welcome
@DearSadiq47
@DearSadiq47 5 месяцев назад
You saved my time dude. Thank You. Regards Dear Sadiq.
@Enkripsan
@Enkripsan 5 месяцев назад
Glad it helped.
@sowndharyaa3539
@sowndharyaa3539 Год назад
Simple but reliable 👍
@wyattmiller2030
@wyattmiller2030 Год назад
You're a life saver.
@Enkripsan
@Enkripsan Год назад
Thanks a lot.
@huyle9635
@huyle9635 10 месяцев назад
thank you sir, u saved me lot of time 😃
@Enkripsan
@Enkripsan 10 месяцев назад
Most welcome
@Moeyy69
@Moeyy69 Год назад
Thanks bro u saved me and my future generation coz i was about to go crazy😂
@Enkripsan
@Enkripsan Год назад
Most welcome !
@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 года назад
Worked. Thank you.
@Enkripsan
@Enkripsan 2 года назад
You're welcome!
@abhishekak8597
@abhishekak8597 6 месяцев назад
THANKYOU SIR, ITS VERY HELPFULL FOR US
@Enkripsan
@Enkripsan 4 месяца назад
You're most welcome!!
@nuranranawaka1451
@nuranranawaka1451 8 месяцев назад
Thanks man!
@Enkripsan
@Enkripsan 8 месяцев назад
Most welcome.
@PhotonUzumaki
@PhotonUzumaki 2 года назад
Very Helpful video thanks 👍
@Enkripsan
@Enkripsan 2 года назад
Most welcome !
@gowthamchowdam262
@gowthamchowdam262 Год назад
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 Год назад
@@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 Год назад
I stuck with same problem. Any idea guys
@jupiter1396
@jupiter1396 Год назад
Instead of 2004 u can type 2204 and everything is the same ...sure It will work...
@user-ok2iy5qe1n
@user-ok2iy5qe1n 4 месяца назад
Thanks bro!, you save my live
@Enkripsan
@Enkripsan 4 месяца назад
Most welcome. Glad I could help you.
@StricoMr
@StricoMr Год назад
Thank you Enkripsan!
@Enkripsan
@Enkripsan Год назад
Most welcome
@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 Год назад
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 Год назад
thanks, was easy , you are a master
@Enkripsan
@Enkripsan Год назад
most welcome
@davidshankar1346
@davidshankar1346 9 месяцев назад
thank u so much bro,.... you've save my time
@Enkripsan
@Enkripsan 9 месяцев назад
Most welcome
@rplua77
@rplua77 Год назад
Thanks for the video !!!
@Zhuchkibel
@Zhuchkibel 3 месяца назад
Thank you mate
@alexanderzet5028
@alexanderzet5028 Год назад
Thank you!
@annapan9929
@annapan9929 Год назад
very helpful ,thank you veru much
@Enkripsan
@Enkripsan Год назад
You are welcome!
@___GH0ST__
@___GH0ST__ Год назад
thank you so much brother!
@shruthyreddy861
@shruthyreddy861 Год назад
Thank you soo much sir
@Enkripsan
@Enkripsan Год назад
Most welcome
@ibrahimkaya1155
@ibrahimkaya1155 11 месяцев назад
hey bro thanks so much.🙏
@Enkripsan
@Enkripsan 11 месяцев назад
Most welcome
@ravirakesh-qj4nk
@ravirakesh-qj4nk 8 месяцев назад
thanks man
@hoonsikkim1115
@hoonsikkim1115 7 месяцев назад
thank you very much sir!
@Enkripsan
@Enkripsan 7 месяцев назад
Most welcome!
@midnight664
@midnight664 23 дня назад
Thank you SIR
@deiling5034
@deiling5034 8 месяцев назад
Man, you rock...
@Enkripsan
@Enkripsan 8 месяцев назад
Thanks
@bullymaguire008
@bullymaguire008 17 дней назад
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!!
@Enkripsan
@Enkripsan 6 месяцев назад
Thanks alot
@sayanganguly4806
@sayanganguly4806 7 месяцев назад
Thank you!!!
@Enkripsan
@Enkripsan 7 месяцев назад
Most welcome.
@faizansaifi3867
@faizansaifi3867 Год назад
Thanks a lot man.
@Enkripsan
@Enkripsan Год назад
Most welcome
@12345abcd_qwerty
@12345abcd_qwerty Год назад
Thanks a lot for this video.
@Enkripsan
@Enkripsan Год назад
Most welcome
@muhammadaaftabfiaz6699
@muhammadaaftabfiaz6699 6 месяцев назад
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 Год назад
Thanks alot really appreciate
@Enkripsan
@Enkripsan Год назад
most welcome
@abcdefghijk7513
@abcdefghijk7513 Год назад
Really thank you brooohhhh....❤
@Enkripsan
@Enkripsan Год назад
Most welcome
@user-bj3du1yi1j
@user-bj3du1yi1j 5 месяцев назад
Thank, This is usefull
@Enkripsan
@Enkripsan 5 месяцев назад
Thanks a lot
@user-hp3ww6tb8z
@user-hp3ww6tb8z 11 месяцев назад
awesome, thanks!!
@Enkripsan
@Enkripsan 11 месяцев назад
Most welcome
@andedeakouter4686
@andedeakouter4686 2 года назад
This video is a life saver.😅
@Enkripsan
@Enkripsan 2 года назад
Thanks a lot
@rakhmatilla7618
@rakhmatilla7618 Год назад
ive done it thank youu sooo much uuuuuuuuuuuuuuuuuuuaaaaaaaaaaaaoooooooooo :D
@Enkripsan
@Enkripsan Год назад
Glad you could do it.
@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 Год назад
When I type the ubuntu2004 config -default-user root it says ‘ubuntu2004’ is not recognized as an internet or external command please help
@nthemperor
@nthemperor Год назад
Same here, but I'm in Ubuntu 2204 so I typed ubuntu2204
@josuesinaca4197
@josuesinaca4197 Год назад
try ubuntu config --default-user root
@caylanwilcox9172
@caylanwilcox9172 Год назад
@@josuesinaca4197 MVP
@kitenkenlucas7201
@kitenkenlucas7201 Год назад
@@josuesinaca4197 wewe ni genious
@foyjunnahar7282
@foyjunnahar7282 Год назад
@@josuesinaca4197 genious
@NebulicNinja
@NebulicNinja Год назад
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 месяцев назад
Excellent
@Enkripsan
@Enkripsan 8 месяцев назад
Thank you very much.
@kevinmcelhinney
@kevinmcelhinney Год назад
Thank you still helpfull
Далее
ПОЛЕЗНЫЕ ЛАЙФХАКИ В PLANTS VS ZOMBIES!
00:45
They got a Golden Buzzer 🤣✨
00:46
Просмотров 17 млн
How to change forgotten Linux password
6:33
Просмотров 74 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
WSL2 Ubuntu GUI
13:51
Просмотров 585 тыс.
Linux Directories Explained in 100 Seconds
2:53
Просмотров 1,4 млн
Visual Studio Code Setup for C/C++ with WSL
14:40
Просмотров 17 тыс.
Reset Forgotten Ubuntu Linux Password on WSL
3:11
Просмотров 70 тыс.
How to reset lost root password on Ubuntu
5:37
Просмотров 20 тыс.
Kali Linux APPS on Windows in 5min (WSLg)
12:11
Просмотров 639 тыс.
Копия iPhone с WildBerries
1:00
Просмотров 3,2 млн
Prices & Poco M4 Pro 5G
1:00
Просмотров 267 тыс.