Boot up the computer, and after the BIOS screen has loaded, hold down the left
- SHIFT key. You will then be prompted by a menu that looks something like this:
Now select
- Recovery mode using the arrow keys and press
- Enter
Now select:
- Root using the arrow keys again to move the highlighted line and press
- Enter At this point you should see a root prompt which reads:
- root@ubuntu:~# The file system will be read only so we have to re–mount it with write permissions. So type this into the prompt:
- mount -rw -o remount Now we use the passwrd command but we have to select the user. Say our user is called dave72, then we type this:
- root@ubuntu:~# passwrd dave72 Now we have selected the user and now we choose a password to enter. Say the password is 1234 then type:
- Enter new UNIX password: 1234
- Retype new UNIX password: 1234
- Passwrd: password updated successfully
- root@ubuntu:~#
...
No comments:
Post a Comment