Friday, 24 July 2015

How To Set The root Password In Ubuntu

How To Set The root Password In Ubuntu

By default ubuntu has an unknown password set. It is very rare that you would ever need to login as root but if you do you will need to have a password set. To set the password for root it is as simple as typing in a command in a terminal / command line.
When you set the root password you will need to be logged in with a user that has sudo access. Often times the user that you created when you setup your Ubuntu system will have sudo access.
If you are setting this on a desktop computer you will need to open a terminal to issue the following command. Since the default server does not have a graphical interface you will just need to enter the command.

Let's get started. Enter the following command in a terminal or bash window.
sudo passwd root
Create a password for the root user with the following command: sudo passwd root


Enter your password (sudo user password) 
Enter the password of the user with sudo access


Create a password 
Create a password for the root user


Confirm password
Enter the password one more time to confirm it


To login and test out the new root users password, use the  su command to switch users.
su 
Enter su to switch to the super user


You can now issue commands as the root user. Just be really careful because if you make a mistake the root user will have the access to do it.
Hope you found this useful!

3 comments:

  1. I Want to use this medium to appreciate an online ghost hacker, after being ripped off my money he helped me find my cheating lover and helped me hacked his WHATSAPP, GMAIL, kik and all his social media platforms and i got to know that he has being cheating on me and in less than 24 hours he helped me out with everything, hacking setting is trust worthy, contact him via: hackingsetting50@gmail.com

    ReplyDelete
  2. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    ReplyDelete
  3. WinZip Pro Crack
    WinZip Pro Crack, add-ons can quickly communicate to your friends and business partners through your excellent email client, various social networks, and your cloud service. Add tools to have photo files to change resolution decisions in multiple resolutions until they are entered with a watermark when it comes to change.
    https://pcsoftnew.com/

    ReplyDelete