Ubuntu passwd Problem

Asked by chetan.burse


the thing is i hv forgot the password for my Ubuntu 8.10. But the thing is i cant even log on to ubuntu using root account <same prob>.

So i want to hack my own PC.

Can anyone hv any solution ..............................................
<dont wanna lus my data and the installation>

Chetan Burse.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dr Paul Brewer (drpaulbrewer) said :

Ubuntu has no root account.

Burn an Ubuntu LiveCD or Knoppix or something similar, boot it, and mount your hard disks.

This will get you back to your data.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
Revision history for this message
actionparsnip (andrew-woodhead666) said :

simplest way is to boot to root recovery console using esc at grub, once there you can execute

passwd <your usual username here>

and you can set the password. You should NEVER enable the root account for security purposes and if you HAVE enabled it I suggest you disable it as son as you are able. The account is disabled for a great many security reasons. The root account is unnecessary and uneeded as you can perform all tasks using sudo / gksudo /kdesudo and you will be as powerful as root.

Revision history for this message
Steve (stupendoussteve-deactivatedaccount) said :

Some commands can be broken using sudo or gksudo, especially redirection and sometimes file permissions. There is nothing inherently wrong with enabling the root account, if you are familiar with the security implications listed at https://wiki.ubuntu.com/RootSudo. Many experienced users are quick to enable the root account, and it is even an option during the expert mode install.

Can you help with this problem?

Provide an answer of your own, or ask chetan.burse for more information if necessary.

To post a message you must log in.