How To Root A Box
Turn on computer. After a few (or 10 or 20) seconds you will see a screen that says...
Grub Loading...3..2..1 Be watching closely.
Here is where you press Esc
Next you will see stuff that says Ubuntu, kernel 2.6...
There will be several lines of this. The first one should be highlighted by default. If it isn't, use the arrow keys
to highlight it and press e to edit this line.
On the next screen highlight the second line and press e again.
On the next screen there will be a long line of code. the important part of this will be root=/dev/hda3 ro
In between the /dev/hda3
and the ro typeinit=/bin/bash and change the ro to rw.
Delete everything after the rw.
Press enter to save the new line and then b to boot with the new instructions.
When booting has completed you will see a black screen with a line that says root@(none):/# and a blinking
cursor.
Here type passwd and a space, then hit the tab button two times quickly. A list of possible users should
appear. One should look like June's. like juneh or jqhart or junehartung or whatever. Type that username after passwd and press enter
It will say enter new UNIX password enter a new password. Hit enter.
Retype it to confirm. Hit enter.
type sync and Hit enter. (this ensures that the files are written to disk)
Remember Both the username and password and restart the computer.
login with the old name and new password. If it works, Yay! if not, Repeat!