@sonofMegaAlexandros Not that easy when all the passwords are salt encrypted. you can just single user it and "# passwd" it then reboot and login as root or change the run level to 3 for multi user mode or 4 for x11
@sonofMegaAlexandros Ironically enough there is a specialized Linux tool used for resetting Winblows passwords. All you need to do is boot, select installation and set a new password.
@suyashr2 He might have thought about setting computer password in BIOS. Toshiba laptops have ability to set HDD password so even if you move HDD to another computer you can't access it which is great. :)
@LiezerZero Like I said, password protection is on HDD itself, moving HDD out or doing whatever won't help. HDD won't turn on unless proper password is provided. Only thing you can do with Toshiba protected HDDs is to call their tech support and prove you are the owner of laptop. Besides, you can access any computer you want if you have physical access to it. If someone really cared about his data on computer he should use cryptfs. This is not hacking, this is recovery tutorial 101.
HACKING?!??? LOL! Any moron with even a month of Linux/Unix exposure can do this. Besides, I was cutting my teeth on Unix long before Linux got started - everything from shell prompt.
blödsinn, das kannst du mit jeder live cd auch machen, musste dich nur entsprechend ins debian chrooten. bei ubuntu gehts sogar noch einfacher, da lässt sich ne "rettungsshell" starten in der man dann gleich aufm root prompt landet. bei mac os ist es ähnlich einfach.
no matter what does hacker and hacking means, linux is secure, and its only enemy is the linux-installer disc (and as we can now see, the unpassworded grub). But how can you find anything in a directory, which is chmodded for only root to see/modify, and where's a primeencrypted grub password primeencrypted root password and a primeencrypted ext3/4 partition is working?
People these days use the word Hacker incorrectly. originally hackers were a kind of programmer usually working under some kind of unix-like system. they were the ones who brought up and maintained the internet when it was still young. Then a group of "bad guys" who should be called: "crackers", and "black hats" were breaking into servers and getting all the attention. They called themselves hackers and as a result, the media and every other idiot on this planet incorrectly uses the term hacker.
I learned this during my CS Degree. That is the only definition that computer literate people use.
If you want to talk about illegally accessing a mainframe - then state that - it's not called hacking though. I've already explained to you what that is...
There are different definitions for hacking. It can be classified as modification to software that is allowed or not, modifying one's system, or gaining unauthorized access to another system.
If you have direct access to the console you can do anything.. windows or linux alike.
There ARE methods however if you do want a secured console!
You can encrypt your entire disk, for instance.. Can't even get to grub without the proper password. Could rip the entire disk out slap it in another computer and it wouldn't do you any good.
excellent point but what if you have access to a BIOS password protected system with out the option to clear the CMOS? And you are unable to remove the drive and attach it to another system because it would take you hours and hours to crack the algorithm? LOL
I don't really understand how this is supposed to be hacking. He did just change the GRUB bootloader settings, that's not hacking. Ofcourse you can do that if you can physically access the computer, EXCEPT that usually GRUB is password protected. You can't change the GRUB settings if you don't know the password.
"Where does booting removable storage devices, and GRUB commands meet?"
I did not say they do. I just meant that if you disable booting from removable devices then nonone can boot from them. If you can boot using eg. floppy or cd, then you can modify GRUB on harddisk even if GRUB is password protected.
You have forgotten one VERY IMPORTANT thing. ALL SERVERS, which are not kept in physically restricted areas ALWAYS have a GRUB BOOTLOADER PASSWORD. And there is NO WAY to bypass the bootloader password, without which, the system won't boot!
The runlevel S/s is used when due to some reason, you need to debug/maintain or use the system without the 'inittab' file being read. It has a practical utility, that is why it is there. This is by now standards, a hack!
Ummm but this is not and if is considered a hack is not Usefull is we are thinking fuck the account of a Linux Server, simple, because you need a psisical access to do it right, and that is a difficult, and just to get root account, i know is root, but theres another ways to get it without entering into a place.
Its hacking your own cpu ... Dont forget the password n you wont have to go through the whole "Rebooting" process. Cracking another Linux box from the place you sit would be nice to see though. =)
yea most of what needs to be said already has, but this is a known work around, and besides its linux, its designed so that you can get around your pass with ease, but to fit in with the other comments, i'll say works like kernal, and stack, err err heres a good one, Grub loader, becuase it couldn't be a hardcore geek post with out the Mighty grub. .h
This has been flagged as spam show
You know nothing about linux!
I'd recommend you read the authoritative blogs, for example
syslogblog . blogspot . com/ -good blog of coder
antizlo . blogspot . com/ -good blog of sysadmin
okottelinux . blogspot . com/ -good blog of linux distibutor
And so on. Good luck!
LinuxMintHacker 6 months ago
@RetroShinigami More like. "How to login as single user.. default root"
LiezerZero 6 months ago
HAHAHA thats called Single User Mode children.
LiezerZero 6 months ago
open cat /etc/shadow then joe /etc/shadow
mount the other Partition whicht you have the passwort in a new window.
then change the unknown password with a known password in joe.
so easy ! lol
do some one know how I can krack a windows password ?
sonofMegaAlexandros 7 months ago
@sonofMegaAlexandros Not that easy when all the passwords are salt encrypted. you can just single user it and "# passwd" it then reboot and login as root or change the run level to 3 for multi user mode or 4 for x11
LiezerZero 6 months ago
@sonofMegaAlexandros Ironically enough there is a specialized Linux tool used for resetting Winblows passwords. All you need to do is boot, select installation and set a new password.
TheMeanEYE 6 months ago
*cough (sudo passwd)
MrIntosh 8 months ago
FAIL. this is baby shit. coldboot with a ubuntu live cd.
hrcc9 11 months ago
@hrcc9 Not needed.. so your comment is a fail a pone itself.
LiezerZero 6 months ago
So thats why on my laptop a BIOS password is set ;)
morgulbrut 1 year ago
@morgulbrut
To avoid that you need a GRUB password a BOIS passwd won't help
suyashr2 1 year ago
@suyashr2 He might have thought about setting computer password in BIOS. Toshiba laptops have ability to set HDD password so even if you move HDD to another computer you can't access it which is great. :)
TheMeanEYE 9 months ago
@TheMeanEYE Not ture. All it takes is a change of the master boot record and BAM no password
LiezerZero 6 months ago
@LiezerZero Like I said, password protection is on HDD itself, moving HDD out or doing whatever won't help. HDD won't turn on unless proper password is provided. Only thing you can do with Toshiba protected HDDs is to call their tech support and prove you are the owner of laptop. Besides, you can access any computer you want if you have physical access to it. If someone really cared about his data on computer he should use cryptfs. This is not hacking, this is recovery tutorial 101.
TheMeanEYE 6 months ago
This has been flagged as spam show
@morgulbrut "So thats why on my laptop a BIOS password is set ;)"
Thats when i pull your bios battery and wait a few secs for it to reset back to default setting thus removing your bios password.
LiezerZero 6 months ago
Not really hacking, but a cool trick anyway. For those that lose their root password I suppose.
artifactingreality 1 year ago
HACKING?!??? LOL! Any moron with even a month of Linux/Unix exposure can do this. Besides, I was cutting my teeth on Unix long before Linux got started - everything from shell prompt.
evilunixuser1 1 year ago
Sorry this doesn't work on my gentoo laptop.
I don't even see the grub menu. It boots directly into the OS. :-)
autonomous2010 1 year ago
@autonomous2010 hold shift when booting
malik932008 1 year ago
@malik932008 That only works for grub 2. I have grub legacy and even ESC doesn't work.
autonomous2010 1 year ago
@autonomous2010 i remember i used it with grub legacy
malik932008 1 year ago
@malik932008 I will try it again once I get my gentoo box set up again.
autonomous2010 1 year ago
Do people even understand that hacking is also changing code...
NomNomPlz 1 year ago
(-_-)> Everybody know that ...
Terhal42 1 year ago
try that on a secure box
jacksawild 1 year ago
Changing the kernel parameters in Grub isn't hacking. Fail.
Ormaaj 1 year ago
I have the grub bootloader set up so it doesn't show up and the first choice is always the one immediately booted.
This of course CAN be changed but changing it would require being able to log in as root.
Besides that, this isn't hacking. Its in the manual.
autonomous2010 1 year ago
pretty well, hahaha...
drcanavis 1 year ago
Next step: Denial Of Service by using a hammer on the hard disk.
voiser 1 year ago 11
@voiser good one, hahaha
drcanavis 1 year ago
This comment has received too many negative votes show
LOL, who is using linux???
this os is for loosers, who cant afford a windows
niggrfack 2 years ago
@niggrfack i bought windows, it was shit.
NiGhtMarEs0nWax 1 year ago
LOL at you.
I have 3 copies of Windows 7, 4 copies of XP, and yet Linux is better than all of them.
DemonCullen 1 year ago
noob
KuruminKid 2 years ago
lol u call thise hacking? lololol..give me ur id, i will rename you, when u wake up u will be mr.Jons
Gruja1000 2 years ago
This doesn't work with every distribution. Many distros have fixed issues like this and for example, sudo rm -rf /
Arkblu 2 years ago
@Arkblu Even with root access "sudo rm -R /" just says access denied.
autonomous2010 1 year ago
This is lame. You should post a rootkit tutorial lol.
You wouldnt be able to do this unless you had physical or kvm/IPMI access to the machine.
Linuxhax 2 years ago 6
Grub lässt sich mit einem Passwort absichern. Damit ist das hier nur möglich, wenn man das Passwort weiss.
ikemkrueger 2 years ago
blödsinn, das kannst du mit jeder live cd auch machen, musste dich nur entsprechend ins debian chrooten. bei ubuntu gehts sogar noch einfacher, da lässt sich ne "rettungsshell" starten in der man dann gleich aufm root prompt landet. bei mac os ist es ähnlich einfach.
spezialgast 2 years ago
Bei meiner Aussage hab ich vorausgesetzt, das nur das booten von Festplatte erlaubt ist.
ikemkrueger 2 years ago
and i thought linux was secure O.o! oh wait you have to be right in front of it for it to work!
htfkid2000 2 years ago
A PC you can sit in front of is NEVER secure. There are boot CDs et cetera...
you can secure GRUB against this, but you never can secure a machine you can access.
You could also connect to the hard disk the root partition is on and run a chroot, then doing the passwd thing...
and so on.
Nice trick this, but this kind of "insecurity" is nothing brand new.
LirionD 2 years ago 6
umm if you say that that applies to all computers starting from ABACUS to IBM ROADRUNNER super computer!
htfkid2000 2 years ago
no matter what does hacker and hacking means, linux is secure, and its only enemy is the linux-installer disc (and as we can now see, the unpassworded grub). But how can you find anything in a directory, which is chmodded for only root to see/modify, and where's a primeencrypted grub password primeencrypted root password and a primeencrypted ext3/4 partition is working?
nantocsem 2 years ago 6
People these days use the word Hacker incorrectly. originally hackers were a kind of programmer usually working under some kind of unix-like system. they were the ones who brought up and maintained the internet when it was still young. Then a group of "bad guys" who should be called: "crackers", and "black hats" were breaking into servers and getting all the attention. They called themselves hackers and as a result, the media and every other idiot on this planet incorrectly uses the term hacker.
ZuljinTheShadow 2 years ago 6
Hacking is writing programs without a plan.
I learned this during my CS Degree. That is the only definition that computer literate people use.
If you want to talk about illegally accessing a mainframe - then state that - it's not called hacking though. I've already explained to you what that is...
boriddlin 2 years ago 3
lol wtf? ..
Ezcut 2 years ago
This is pathetic
jawsykilla 2 years ago
NOT FUCKING HACKING!!! this is 101 computer basics.. comes with every linux manual -__-
TheComputerCriminal 2 years ago 46
i agree
pampos123 2 years ago
but but what if he doesnt have installed bash?
thats why you gotta use the -s line at the end of the kernel to boot as a single user(root)
24oscar24 3 years ago
sh
if they dont have that then idk how the system even works
Racecar564 3 years ago
i dont understand your point.
interestingfact: sh in debian is only a hard link to bash.
24oscar24 3 years ago
usually a linux system always includes bash so i dont see how any linux computer that works dosent have bash
Racecar564 3 years ago
its bad practice like putting in a POSIX script bash as the interpeter instead of sh
normally it woldn matter anyway but makes it alot more portable.
anyways i use bash,zsh and ksh.
but all my scripts are in posix for portable ends.
24oscar24 2 years ago
lol
dangerriff 3 years ago
Hacking? Maybe for ubuntu kids it's hacking
voidfalse 3 years ago 4
The definition of hacking is to get access to something you aren't allowed to :D so it is a kind of hack :p but it's local, so not funny :p
Sjums07 2 years ago
No, that is cracking. Real hacking is defined by ESR at catb(dot)org
Programmer780 2 years ago
Besides its not even real cracking, it is a local, not remote system that you have permission to access.
Programmer780 2 years ago
There are different definitions for hacking. It can be classified as modification to software that is allowed or not, modifying one's system, or gaining unauthorized access to another system.
SeniorGeneralOmega 2 years ago
Teach me your ways love guru
pinguspengu1n 3 years ago
Guru! Nice job
sevenedus 3 years ago
If you have direct access to the console you can do anything.. windows or linux alike.
There ARE methods however if you do want a secured console!
You can encrypt your entire disk, for instance.. Can't even get to grub without the proper password. Could rip the entire disk out slap it in another computer and it wouldn't do you any good.
liquidthex 3 years ago
WOW that was hacking. . . -.-
E18GERMERING 3 years ago
This is built into GRUB by design, it has nothing to do with hacking. A more realistic title might be "Changing a Forgotten Root Password on Debian."
Kojow7 3 years ago 4
wow nothing new! lol
all you did was modify GRUB to enter into single user mode WOOOOOOOOO haaaaa lol
now what would you do with a grub loader that had an hashed password access??
saraph83 3 years ago
Use liveCD to delete/overwrite the hash
AdamBailey9 3 years ago
excellent point but what if you have access to a BIOS password protected system with out the option to clear the CMOS? And you are unable to remove the drive and attach it to another system because it would take you hours and hours to crack the algorithm? LOL
saraph83 3 years ago
cant do that with an encrypted hard drive
evolutionspot 3 years ago
oh, man... With physical acces there's no problem, to got root acces. You can simply put LiveCD and all kind of computer will be your. Am I right?
outslider1 3 years ago 2
oooohh noobie man!
Rcman425 3 years ago
Basic Linux tutorials teach how to do this. After all, passwords can't protect you if someone is in the room with your machine.
Neelo5000 3 years ago 9
Usually you dont have physical access to the box. :)
Uberware 3 years ago
what direction do i go in to start teaching myself to hack?
hordepwnage 3 years ago
Physical Access = Root Access (this isn't hacking)
awells527 3 years ago 59
quote
TheCrazyRipper 3 years ago
I don't really understand how this is supposed to be hacking. He did just change the GRUB bootloader settings, that's not hacking. Ofcourse you can do that if you can physically access the computer, EXCEPT that usually GRUB is password protected. You can't change the GRUB settings if you don't know the password.
miksuh 3 years ago 2
And if you password protect the bios and disable booting from floppy, cd/dvd, usb-media, network etc then it's even harder to "hack".
miksuh 3 years ago
Where does booting removable storage devices, and GRUB commands meet? Lolz.
EMZ=]
My1name1is1Emor 3 years ago
"Where does booting removable storage devices, and GRUB commands meet?"
I did not say they do. I just meant that if you disable booting from removable devices then nonone can boot from them. If you can boot using eg. floppy or cd, then you can modify GRUB on harddisk even if GRUB is password protected.
miksuh 3 years ago
Lol, it just seemed a bit un-related to what you were replying to. But, y'ah, you're right.
EMZ=]
My1name1is1Emor 3 years ago
When you boot from other devices and mount the bootable partition for changing GRUB's settings
AdamBailey9 3 years ago
was this suppose to be entering the system on to single level mode and changing the passwd ??
schmucz 3 years ago
You have forgotten one VERY IMPORTANT thing. ALL SERVERS, which are not kept in physically restricted areas ALWAYS have a GRUB BOOTLOADER PASSWORD. And there is NO WAY to bypass the bootloader password, without which, the system won't boot!
The runlevel S/s is used when due to some reason, you need to debug/maintain or use the system without the 'inittab' file being read. It has a practical utility, that is why it is there. This is by now standards, a hack!
linux786 3 years ago
Yep thats the way to do it.
QuillOmega0 3 years ago
It's such a pity that anyone with access to your PC can hack you, but at least you can have encryption.
RandomEvilOfNinja 3 years ago
This isn't realy hacking seen as your just using the bootloader to bring up a root shell.
Anyone with physical access to the machine can get root.
mrmartinmartin 3 years ago
Ummm but this is not and if is considered a hack is not Usefull is we are thinking fuck the account of a Linux Server, simple, because you need a psisical access to do it right, and that is a difficult, and just to get root account, i know is root, but theres another ways to get it without entering into a place.
carlostinonsa 3 years ago
Its hacking your own cpu ... Dont forget the password n you wont have to go through the whole "Rebooting" process. Cracking another Linux box from the place you sit would be nice to see though. =)
ssllaaddee 3 years ago
thank you i though i was gonna have to reinstall linux on laptop so i could get root
hacker1996 3 years ago
=) awesome :)
kaiomatico 4 years ago
nu prea am inteles ce a vrut sa faca.....
maximilianxp 4 years ago
a schimbat parola de la root din GRUB
anukefromrussia 4 years ago
Hehe....
zrappaz 4 years ago
funny
verbosesnake 4 years ago
this is not a hack, it is a common known way of resetting a root password in case you forgot it.
DusteDdekay 4 years ago 5
I think restarting a server would cause enough alarm to get caught.
ibanez697 4 years ago
Is not difficult to block lilo or grub xP
Ropechoborra 4 years ago
nice
telcouser 4 years ago
unless I'm mistaken...that looks alot like a sneaky way to get into single user mode
anointed852003 4 years ago
This AND all techniques of getting the linux pass from most distro's has been fixed. nice find though.
Shoot3r101 4 years ago
i guess we can restart using a rescue CD, then chroot and change pass :)
however, most servers dont allow physical access like this :)
hallowenator 4 years ago
yea most of what needs to be said already has, but this is a known work around, and besides its linux, its designed so that you can get around your pass with ease, but to fit in with the other comments, i'll say works like kernal, and stack, err err heres a good one, Grub loader, becuase it couldn't be a hardcore geek post with out the Mighty grub. .h
jamsgbof 4 years ago
yeah but it would be nice if you write on which distr(kernel?). this works and on which it isn't...
psychobobek 5 years ago
debian gnu/linux kernel 2.6.8-2-386
SketchyPhoenix 5 years ago
it works on any distribution if the sysadmin hasn't turned boot parameters off
linuxx0r 4 years ago