Forgot Root password

Asked by Arindam

I want to edit 05_debian_theme file. But unable to do so as only root has the edit permission to this. I do not remember providing root password while installing Ubuntu 9.10. (Actually I had 9.04. But there were some issue after upgrading to 9.10, so had to reinstall). How can I reset my root password?
Thanks in advance!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Carlos Joel Delgado Pizarro
Solved:
Last query:
Last reply:
Revision history for this message
Best Carlos Joel Delgado Pizarro (c0x6a) said :
#1

Try:
$ sudo passwd
type your user's password when asked and then type the new password for the root user when asked for.

Revision history for this message
Arindam (arindam-biswas) said :
#2

It worked. Thanks

Revision history for this message
Arindam (arindam-biswas) said :
#3

Thanks Carlos Joel Delgado Pizarro, that solved my question.

Revision history for this message
jmpacheco78 (jmpacheco78) said :
#4

Thanks so much! Worked for me too!!