Setting a root password
One of the first things you would want to do after you install Ubuntu (i suppose any Linux distro) is to reset/set root password. Yes you can get around all this using “sudo” command. But it will be a real pain one you start doing a lot of things that need authorization.
Just type “su” into your terminal window and you can become root provided you know the password. In most cases this will not be known to you. Here’s how you can set it..
Step 1: Applications>Accessories>Terminal (or you can press Ctrl+Alt+T).
You will be prompted with your_name@your_computer_name:~$ . This means you are working in “/home/your_name” and you are you and not root. :) Never mind.
Step 2: Type sudo passwd root. It should look like this:
$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
And if everything goes well,
passwd: password updated successfully
Thats it. once you type “sudo passwd root” and hit enter, it will ask for your password. Type in the password you want to use for root. I dont have to tell you not to forget it. Retype it and we are done. Yes you wont see anything there while you type. Thats how it is. You will get used to it as we go along.
This works for resetting the password too at a future time. I guess if you are in sudoers list, you can reset anyones password. Instead of “root” after “sudo passwd”, type in the username. Try it out. Reset your brothers password and let me watch him kill you. ;)