Reset Password On Any Linux Distro (No Root Needed)

preview_player
Показать описание
Losing your access to your user account on Linux can be really frustrating but luckily resetting that lost password is actually incredibly easy but the process slightly changes depending on the bootloader you're using at least for the easy approach

==========Support The Channel==========

==========Resources==========

=========Video Platforms==========

==========Social Media==========

==========Time Stamps==========
0:00 Introduction
0:50 Important Caveats
1:23 Kernel Parameters
1:55 Using Grub
3:56 Using Systemd-boot
6:04 Live CD
10:47 Resetting The Password
12:06 Outro

==========Credits==========
🎨 Channel Art:
All my art has was created by Supercozman

#Linux #LinuxTutorial #LinuxDistro

🎵 Ending music

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.
Рекомендации по теме
Комментарии
Автор

Recently got stuck in this channel, I'm huge GNU/Linux, FOSS enthusiast, fan, I came from DT, loved your channel

emdirtyyo
Автор

I've only had something like this happen once I just used chroot on a Arch iso, also this goes to show how easy it is to break into most Linux systems if you don't secure them in some way

nonetrix
Автор

I had always thought about this for a long time but never tried to lookup the answer, thank you

a_maxed_out_handle_of__chars
Автор

Great job!! Thank you Brodie for all your work. 👍

markring
Автор

this is gold! I'm gonna bookmark this vid.

gonl
Автор

I believe this is different in systems with SE Linux

Cyber_Lanka
Автор

Good to know - if ever needed. Thanks

ygiagam
Автор

tyb. Actually, it's happened to me for websites but never a computer.

AnzanHoshinRoshi
Автор

9:30 You can just run lsblk -f. The -f parameter adds filesystem info. So that you exactly know which one is the "vfat" of the bootloader (ESP), which one is the swap and which one is the EXT4 / Btrfs / whatever.

jongeduard
Автор

Hi. On Garuda, I had to edit under advanced options, already had the 'rw', but then added the 'init=/bin/bash' at the end of the line, and then after following another video that only showed how to reset root user, used your method to reset my username password, as well. Thank you.

Rushtallica
Автор

Thank you for the detailed walk through! Life Saver!

xaeroshadow
Автор

isn't this a major security risk?? if i can do this on my computer. what stops me for doing this on some other computer that ain't mine?? not that i would, but just wounding from a security viewpoint....

smellysocks
Автор

Im sure you got this idea from the LFS series.

wChris_
Автор

I tried booting directly with a shell as my init system for fun now, but it does not work for me on my desktop system due to a very basic problem: My keyboard does not respond. :(
Even pluging it out and pluging it in again does not work. :(
Probably I would need to to fiddle with certain USB in my motherboard UEFI settings.
Though in VirtualBox this trick works for me as well.
Let's say that I still prefer the boot-from-another-system way of doing, preferably an arch based system with arch-chroot. And note that Manjaro also has it's manjaro-chroot script, that does even more work (probably more than you want, I have not used it yet).
Virtual machines are the easiest though: You can hang any virtual disk from one VM into another as another drive, and then fix it in onother system. Although you have to be somewhat cautious if you have duplicate file system UUIDs (possible if you have cloned VMs), especially with Btrfs.

jongeduard
Автор

Nice video, thank you, but now I'm worried because changing the password seems to be too easy if a person somehow gets access to your computer, no hurdle or antyhing for them, just change the password and log in! 😮

farzadmf
Автор

For some reason when i get to the shell to reset the password my keyboard just freezes, even when it worked just a second ago in grub. Anyone knows what could be the problem?

rohlilpsenicny
Автор

"Hacks a Linux PC"
Windows: guess I ain't that bad

apexneuron
Автор

I directely removed hash from /etc/shadow file and work

sonuaryan
Автор

But for window SAM(by chntpw) editing this Windows say i caught it and get crashed. I think Windows Security is higher than linux.

sonuaryan
Автор

Can the keyboard be an issue or the shell? Because even after doing your suggestions I still can't login! Because I'm getting the same message from the gui login and the getty login!

jescis