Ubuntu Set Root Password


In order to install LAMP you will probably need a root password.
Ubuntu uses sudo, heres how to set a root password:
YourUserId->sudo su -
[sudo] password for YourUserPassword: 

Now you are root
root->passwd
New password: 
Retype new password: 
passwd: password updated successfully


Now you can become the root user when needed.