Created
January 29, 2018 06:46
-
-
Save talk2bryan/d7a397914d9eda6183e4fbefb58a1126 to your computer and use it in GitHub Desktop.
Set root password for Linux machines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Switch to root user | |
sudo -s | |
# Update password: | |
passwd # Enter new password and confirm by repeating it | |
# Switch back to listed user (e.g. tom) | |
su tom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment