Any IT helpdesk worker will tell you that the most common issue they deal with on a Monday morning is users who have forgotten their passwords over the weekend. So what do you do when you forget your password and can’t log on to your webbook? (or for that matter another user of your webbook forgets their password) Don’t worry, all is not lost, and this is a great time to introduce you to the recovery console.
When your webbook switches on you will see the webbook logo for a second or two as the BIOS gets ready to start up the system. Just after this, hit the escape key and you should end up at a menu like this:

Don’t worry if you miss it, just switch off and try again.
Go down to the second option in the list, this should end with (recovery mode) and press return.
You will then be treated to lots of weird and wonderful messages flying past as you see it boot up. Those messages are normally hidden by the Ubuntu startup screen.
Eventually you end up at this blue screen (not a blue screen of death, but a blue screen of salvation!)

Select the option to “Drop to a root shell prompt”
At the bottom of the screen you should see a little # prompt and a flashing cursor. You are now at a command line with superuser powers. Try typing
ls /home
this should give you a list of people with home directories. Lets say one of them is “alan”. To change the password for this user type
passwd alan
and provide a new password.
Once you are happy that you have a username and password that you can use type
exit
to continue starting up the webbook, you can then log in with your new password.
Other commands you might want to use at the recovery console include
deluser –remove-home alan
this deletes the user called alan, plus the home directory and all contents. Use with caution!
oem-config-prepare
Once you have deleted all the users you can run this command to reset the webbook to the first user wizard. This means that the next time it is turned on it will ask for a username and location etc. You might want to do this if you are giving your webbook to someone else.