How To Reset A Forgotten Password On Linux

Ғылым және технология

Today's video is sponsored and I use their service regularly!
✨✨25% off code:
✅ DB23
Purchased keys are permanent and you can see for yourself in the video!
✨✨ Genuine Lifetime Activation Windows 10 Pro only $14:
✅ dbte.ch/db23win10
✨✨ Genuine Lifetime Activation Windows 11 only $21:
✅ dbte.ch/db23windows11
✨✨ Genuine Lifetime Activation Windows 10 Home only $13:
✅ dbte.ch/win10home
✨✨ Genuine Lifetime Activation Office2019 only $48:
✅ dbte.ch/office2019
/=========================================/
There's a chance at some point that you'll get locked out of your account on Linux. This is the process I used to reset the user password on my account.
This is NOT meant to be a hacking tutorial. ONLY use this method to recover your own account.
/=========================================/
The hardware in my recording studio is:
✔ Lenovo ThinkPad T580 i7-8650, 512GB NVMe, 32GB RAM (Bought used on eBay)
✔ Panasonic LUMIX G7 4K Digital Camera: amzn.to/3IGEOcb
✔ Lenovo 4K Display: amzn.to/3nzuo5N
✔ Neewer Lights: amzn.to/3nZcoSX
✔ Light Power Supply:amzn.to/3Konpqf
✔ 55" Gaming Desk: amzn.to/3AkgHgw
✔ Sabrent USB-C Hub: amzn.to/3qFcwbV
✔ Das Keyboard 4 Professional: amzn.to/3G9rPxM
✔ Eutuxia Type-S Black Tempered Glass Monitor Stand: amzn.to/33VgyEg
✔ Fuqido Big and Tall Gaming Chair: amzn.to/3IGegrq
/=========================================/
✨Find all my social accounts here:
✅ dbte.ch/
✨Ways to support DB Tech:
✅ / dbtech
✅ www.paypal.me/DBTechReviews
✅ ko-fi.com/dbtech
✨Come chat in Discord:
✅ dbte.ch/discord
✨Join this channel to get access to perks:
✅ / @dbtechyt
✨Services (Affiliate Links):
✅ Linode: dbte.ch/linode
✅ PrivadoVPN: dbte.ch/privadovpn
✅ Digital Ocean: dbte.ch/do
✅ Bunny CDN: dbte.ch/bunnycdn
✅ Private Internet Access (PIA) VPN: dbte.ch/piavpn
✅ Amazon: dbte.ch/amazonaffiliate
✨Hardware (Affiliate Links):
✅ TinyPilot KVM: dbte.ch/tpkvm
✅ LattePanda Delta 432: dbte.ch/dfrobot
✅ Lotmaxx SC-10 Shark: dbte.ch/sc10shark
✅ EchoGear 10U Rack: dbte.ch/echogear10u
The hardware in my current home server is:
✔ Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
✔ 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
✔ 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
✔ 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
All amzn.to links are affiliate links.
/=========================================/
Remember to leave a like on this video and subscribe if you want to see more!
/=========================================/
Like what I do? Want to be generous and help support my channel? Here are some ways to support:
✅ Patreon: dbte.ch/patreon
✅ PayPal: dbte.ch/paypal
✅ Ko-fi: dbte.ch/kofi
/=========================================/
Here's my Amazon Influencer Shop Link:
✅ dbte.ch/amazonshop

Пікірлер: 33

  • @farzadmf
    @farzadmf2 жыл бұрын

    Very nice one. I knew everything you mentioned already (the files and everything), but connecting them altogether and doing what you did, that was a nice touch!

  • @yeahbuddylightweight307
    @yeahbuddylightweight3072 жыл бұрын

    Instead of creating a brand new account in order to set a new password, could you not have run "passwd" in a terminal window after getting into your account without the password

  • @RalphHerran
    @RalphHerran9 ай бұрын

    I have been able to set my user password using some of your video's content, thanks! Mike

  • @user-lz1hi2go3i
    @user-lz1hi2go3i8 ай бұрын

    Thanks a lot man. Learned a lot plus it really helped, I had it forgotten, all my work files were saved. Thanks a lot Sir for sharing.

  • @DBTechYT

    @DBTechYT

    8 ай бұрын

    Glad it helped

  • @annesummers09
    @annesummers092 жыл бұрын

    I can't get into "advanced options" page on my sabrent/linux Where is it? Thanks.

  • @steven-xe5wf
    @steven-xe5wf Жыл бұрын

    when i do the command nano shadow there is nothing

  • @justinholt7462
    @justinholt74625 ай бұрын

    Great Video. I have installed LMDE on an old pc. I forgot the PW. During setup it asked if i wanted to encrypt the account, i answered YES. After following your instructions, at the login screen, I type in the password, the screen goes blank for a second (as if it is logging in), but it comes back to the login screen. No message saying invalid password, if i type in a random password, it does say invalid password.

  • @SukhwinderSingh-vy6ho
    @SukhwinderSingh-vy6ho7 ай бұрын

    Thanks.. Its helpful for me...

  • @barg007
    @barg00711 ай бұрын

    I have a lenovo ThinkPad X1 running Debian glinux, was provided by google. can you help reseting it ?it asking for user and passwd

  • @Sticky_hub
    @Sticky_hub Жыл бұрын

    I can't save after deleting the (X) it gives me " Error writing passwd: Read-only file system "

  • @ricklane1821

    @ricklane1821

    Ай бұрын

    Same thing happened to me

  • @darkwolf41nite53
    @darkwolf41nite53Ай бұрын

    Will this work on any Linux ?

  • @Beegeezy144
    @Beegeezy144 Жыл бұрын

    4:23 It's not letting me make up a password. It wants the original password for maintenance.

  • @RalphHerran
    @RalphHerran9 ай бұрын

    It is not letting me set a maintenance password?

  • @damienbutt6320
    @damienbutt63202 жыл бұрын

    Could you not have just run “passwd CasaOS” in the root prompt to set a new password?

  • @DBTechYT

    @DBTechYT

    2 жыл бұрын

    For some reason when I tried that I got a message saying the user didn't exist

  • @abie1o
    @abie1o2 жыл бұрын

    Is this specific to that device or is this something you can do on any device running Debian? This is a big security hole. It basically says that if anyone gets a hold of your device, they can 'break in' and steel you user data. That is really bad.

  • @DBTechYT

    @DBTechYT

    2 жыл бұрын

    This is just Debian 11

  • @userbump6732

    @userbump6732

    2 жыл бұрын

    There is no security hole in this. He had to use root password to change another users password.

  • @chrisumali9841
    @chrisumali98412 жыл бұрын

    Thanks for the indo and demo, have a great day

  • @DBTechYT

    @DBTechYT

    2 жыл бұрын

    Thanks for watching!

  • @hussainahmad2703
    @hussainahmad2703 Жыл бұрын

    Doesn’t work for me.

  • @userbump6732
    @userbump67322 жыл бұрын

    Don't really see the point doing it this way... changing contents of a files that you have tools for manually is a bad practice. You already have a root password so you could just easily go to another virtual console login as root user and use passwd command to change it.

  • @zakoalax
    @zakoalax2 жыл бұрын

    Hacking is bad, M'kay? 🤣

  • @sanjeev2003
    @sanjeev20032 жыл бұрын

    2nd🤣

  • @John-ex7fo
    @John-ex7fo Жыл бұрын

    Can't you read? I said linux not windows

  • @DBTechYT

    @DBTechYT

    Жыл бұрын

    There are literally no other comments from you on my channel that I can find, so WTF are you talking about?

  • @John-ex7fo

    @John-ex7fo

    Жыл бұрын

    @@DBTechYT I say Linux and people always want to explain with Microsoft junk. I just got fed up with Microsoft and downloaded Linux mint 20. cinnamon and put it on my computer. Somehow I lost or just typed the log in password wrong. First it was just the root one. and now it is both. How can I get the Usb Bootable drive to not start the system but to reinstall it instead. Every time I try it the system boots up. And there is no way to reinstall. Thank you if you can help me.

  • @DBTechYT

    @DBTechYT

    Жыл бұрын

    You need to get into the BIOS of the computer and change the boot order to be the USB drive first

  • @John-ex7fo

    @John-ex7fo

    Жыл бұрын

    @@DBTechYT I did that, that's how I put the linux system on the computer. Now every time I try to reinstall it. it doesn't come up with the installer just goes straight to the program. It won't boot up to install. just the program. Is that what bootable programs do? Just let you install once?

  • @John-ex7fo

    @John-ex7fo

    Жыл бұрын

    @@DBTechYT I got it. Thank you

  • @Vasil_chakalarov
    @Vasil_chakalarov8 ай бұрын

    Not all heroes wear capes Thankyou sir

Келесі