Skip to content

Instantly share code, notes, and snippets.

@uccmen
Last active January 2, 2016 06:49
Show Gist options
  • Save uccmen/8265879 to your computer and use it in GitHub Desktop.
Save uccmen/8265879 to your computer and use it in GitHub Desktop.
How to config root password
###Type the following command:
sudo passwd
###The following message will appear:
[sudo] password for [username]: [Type your user password and press return]
###After that another message will appear, the following:
Type new UNIX password: [Type the root password you want]
###Now the last thing you need to do, the following:
Retype new UNIX password: [Retype the root password you chosen before]
###The following message will appear:
passwd: password updated successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment