How To Reset A Forgotten Password On Linux

Поделиться
HTML-код
  • Опубликовано: 14 фев 2022
  • 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
    @farzadmf 2 года назад

    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
    @yeahbuddylightweight307 2 года назад +7

    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

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

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

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

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

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

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

  • @steven-xe5wf
    @steven-xe5wf Год назад +1

    when i do the command nano shadow there is nothing

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

    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.

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

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

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

      Same thing happened to me

  • @user-lz1hi2go3i
    @user-lz1hi2go3i 9 месяцев назад

    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  9 месяцев назад

      Glad it helped

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

    Will this work on any Linux ?

  • @SukhwinderSingh-vy6ho
    @SukhwinderSingh-vy6ho 8 месяцев назад

    Thanks.. Its helpful for me...

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

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

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

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

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

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

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

    It is not letting me set a maintenance password?

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

    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
    @chrisumali9841 2 года назад +1

    Thanks for the indo and demo, have a great day

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

      Thanks for watching!

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

    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.

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

    Doesn’t work for me.

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

    Hacking is bad, M'kay? 🤣

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

    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_chakalarov 8 месяцев назад

    Not all heroes wear capes Thankyou sir