Saturday, September 11, 2010

linux root hack

another way to hack into your linux is using a live linux cd to do all the things for you.

steps:

1). $fdisk -l
2). get the partition having linux installed say /dev/sda2.
3). mount the partition over say /mnt.

$sudo mount /dev/sda2 /mnt

4).now do this

$cd /mnt
$chroot /dev/sda1
$passwd

5). the above mentioned steps change your root the root of the linux partition i.e. the actual partition that has linux installed. and to change your password.

enter new password and confirm it.

6). reboot the system and log in with your new password

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.


best of luck.

Unix Rape


No comments:

Post a Comment