Saturday, September 11, 2010

linux root hack

you want to hack into a root account , so i suppose you are not a new-bie here.so, i would like top skip the preachy things and start with the steps. be careful to use this backup any concerned file so that you don't end up screwed with your preety machine.

step 1:
if you are using a dual boot , go to the linux entry, you want to reset the password for.

Step 2: press e to edit the default entries prior to boot in linux.

step 3: go to the kernel arguments and append a single after it.

step 4: press 'b' to boot the new configuration.

step 5: now you 'll find urself dropped to the root shell prompt. change the password of root using 'passwd' command. to change password for any other user type passwd ccuser (suppose).

step 6: enter the new password, confirm it and then type exit.


the files you need to backup if you wish to is /etc/shadow.


note: carefully note that this process of getting the root password or something is meant for educational purposes only and you should not exploit your cclab or school computers using this untill you have got permission to do it.

this works fine on the grub version prior to grub 2. but i havenot tested it for the new one. ah!!!! i am kind of lazy , and i don't have much time to read the new grub documentation.

but well if you happen to do so. feel free to give comments to my post.


for the securing part of others using this information to access your system. create a password in the grub menu.allow users to select and boot listed entries but don't allow them to edit them.


best of luck.

Unix Rape

No comments:

Post a Comment