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
@BrodieRobertson3 жыл бұрын
If you have physical access to a system no level of software security matters
@Cookiekeks3 жыл бұрын
@@BrodieRobertson except encryption
@BrodieRobertson3 жыл бұрын
@@Cookiekeks all forms of encryption eventually get broken
@Cookiekeks3 жыл бұрын
@@BrodieRobertson can't follow you. How would they get broken? They are literally mathmatically impossible to break, except maybe with quantom computers one day, but that's just speculations
@BrodieRobertson3 жыл бұрын
@@Cookiekeks the early purpose of a computer was to break encryption, what are you talking about
@emdirtyyo18273 жыл бұрын
Recently got stuck in this channel, I'm huge GNU/Linux, FOSS enthusiast, fan, I came from DT, loved your channel
@LordOfWizardurl3 жыл бұрын
And gaming too.. FOSS gaming
@a_maxed_out_handle_of_30_chars3 жыл бұрын
I had always thought about this for a long time but never tried to lookup the answer, thank you
@BrodieRobertson3 жыл бұрын
I saved you some time, this is a compilation of a lot of messing around
@markring403 жыл бұрын
Great job!! Thank you Brodie for all your work. 👍
@gonl50473 жыл бұрын
this is gold! I'm gonna bookmark this vid.
@Cyber_Lanka3 жыл бұрын
I believe this is different in systems with SE Linux
@MrRenanwill3 жыл бұрын
Its almost the same. After login into bash you will need to: 1) At the bash prompt, load the SELinux policy with /usr/sbin/load_policy -i 2) Mount the root filesystem read-write with mount -o remount,rw /
@ygiagam3 жыл бұрын
Good to know - if ever needed. Thanks
@baaz56423 жыл бұрын
My favorite init is is neofetch
@nevoyu3 жыл бұрын
Neofetch needs a shell so it can't be pid1
@baaz56423 жыл бұрын
@@nevoyu idk I tried it and it worked iam not sure
@BrodieRobertson3 жыл бұрын
It can be PID1, the kernel will just panic the instant it finishes running
@Cookiekeks3 жыл бұрын
@@BrodieRobertson Isn't neofetch a shell script? How can the kernel execute a shell script without a shell like bash
@BrodieRobertson3 жыл бұрын
@@Cookiekeks because a shell script will launch the shell it needs to run
@seventhgreeter54163 жыл бұрын
Super helpful, thank you!
@jongeduard2 жыл бұрын
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.
@pablokote2 жыл бұрын
Thanks that was very helpful!
@rohlilpsenicny64182 жыл бұрын
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?
@xaeroshadow Жыл бұрын
Thank you for the detailed walk through! Life Saver!
@AnzanHoshinRoshi3 жыл бұрын
tyb. Actually, it's happened to me for websites but never a computer.
@BrodieRobertson3 жыл бұрын
I think that's happened to everyone
@slay3rgamingyt3 жыл бұрын
You saved my day, thank you!!
@Rushtallica7 ай бұрын
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.
@asswhole41953 жыл бұрын
Thank you
@jongeduard2 жыл бұрын
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.
@gihanrx3 жыл бұрын
thanks man
@jescis2 жыл бұрын
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!
@wChris_3 жыл бұрын
Im sure you got this idea from the LFS series.
@BrodieRobertson3 жыл бұрын
I knew about this before hand
@apexneuron81093 жыл бұрын
"Hacks a Linux PC" Windows: guess I ain't that bad
@farzadmf3 жыл бұрын
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! 😮
@BrodieRobertson3 жыл бұрын
If you have physical access to a computer you don't even need to change the password, you can just unplug the drive and then mount it on a different system.
@farzadmf3 жыл бұрын
Right, good point.
@theodiscusgaming39093 жыл бұрын
@@farzadmf if you want to prevent this, just encrypt your drive
@farzadmf3 жыл бұрын
@@theodiscusgaming3909 Good point, I was thinking about the same thing as well
@0xbinarylol2 жыл бұрын
But for window SAM(by chntpw) editing this Windows say i caught it and get crashed. I think Windows Security is higher than linux.
@giftkadaluka54982 жыл бұрын
Hie please help I have gallioum OS on my chromebook forgot my password and username... How can I go about it to reset it
@amyjohnson7322 жыл бұрын
It's the galliumos equivalent to "arch-chroot" that I cannot find.
@giftkadaluka54982 жыл бұрын
@@amyjohnson732 I managed to find a back door to change the password without loosing my data... thanks
@karnalunea11223 жыл бұрын
this is great.
@sjalvmordsvalsen3 жыл бұрын
amogus
@PitBuII7 ай бұрын
still works thx
@0xbinarylol2 жыл бұрын
I directely removed hash from /etc/shadow file and work
@simoninc Жыл бұрын
Thank you its halped me
@KSPAtlas3 жыл бұрын
Nice hostname
@mirzaiscandle3 жыл бұрын
amogus login
@dragonskunkstudio75823 жыл бұрын
I'll pay someone to make a distro. I want to use a distro that I can enjoy but everytime there are bugs that never get fixed nor can I fix them. Why can't I just pay for a distro that works for a non coder like me... More like Linux coder.
@gamertechuni3 жыл бұрын
Amogus, lol funni
@liamjewell623 жыл бұрын
1st
@dyroblesmercedes3 жыл бұрын
Too many ads...
@KatzRool3 жыл бұрын
what is this, 2006?
@opentoreason1975 Жыл бұрын
Talk about incoherent!
@smellysocks89133 жыл бұрын
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....
@smellysocks89133 жыл бұрын
I never bother to encrypt my OS, but now i really considering it. cuz this is way to easy. but its the inconvenience of typing another password :-/ but if i think about it i have done this before, so i did know about it. installed arch, and forgot my user password. then i booted to arch usb, mounted drives and reset the password.
@smayansahu10703 жыл бұрын
they would still need physical access tho, and at that point every major OS is vulnerable without encryption
@BrodieRobertson3 жыл бұрын
Yes it is but physical access will always defeat software protections
@Euphorya3 жыл бұрын
@@smellysocks8913 I just use autologin. Just need to enter password once at boot to decrypt.
@smellysocks89133 жыл бұрын
@@Euphorya yes, i did that today, installed arch cinnamon with encryption😉 have installed arch 100 times, but never with LUKS encryption. (So I learned something new today :-) and guess what? I forgot my my root password during install. So I needed to chroot into my install, and that too was not like normal procedure. Lucky i did not forget my crypt password. So new experience, new knowledge 😉