Difference between revisions of "How To Root A Box"

From FreekiWiki
Jump to navigation Jump to search
(#REDIRECT:Lost Password (merging))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Turn on computer. After a few (or 10 or 20) seconds you will see a screen that says...
+
#REDIRECT:[[Lost Password]]
 
 
'''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 <code>/dev/hda3</code> and the '''ro'''  type'''init=/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'''.
 
 
 
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!
 

Latest revision as of 18:10, 22 January 2008

Redirect to: