How To Change Root Password In Ubuntu Linux Using Command Line (Terminal)

How To Change Root Password In Ubuntu Linux Using Command Line (Terminal)

Channel:
Subscribers:
30,000
Published on ● Video Link: https://www.youtube.com/watch?v=w3VfyXYSPB8



Duration: 2:43
3,738 views
33


In this video, I will demonstrate two methods to change your root password in Ubuntu Linux using terminal. For the first method, I will show you how to do this while logged into your Ubuntu Linux machine as a root user and for the second method, I will show you how to change your root password for root as a Sudo user.

Command To Change Root Password As Root:

passwd

Command To Change Root Password As Sudo User:

sudo passwd Root

Steps To Change Root Password In Ubuntu Linux Using Terminal:

As Root user:

1. Log in to your Ubuntu Linux computer or remote server as the Root user
2. To Change your password for Root type the following command:

passwd

3. Enter your New Password and hit "Enter" on your keyboard
4. Retype your new password and hit "Enter" on your keyboard to confirm your password change

As Sudo user:

1. Log in to your Ubuntu Linux computer or remote server as the Sudo user
2. To Change your password for your Root user type the following command:

sudo passwd root

Note: You can replace the word "root" in the command above with your root username. In most cases your root user is going to be root.

3. Enter your New Password and hit "Enter" on your keyboard
4. Retype your new password and hit "Enter" on your keyboard to confirm your password change

Congratulations, you have successfully changed your root password in Ubuntu Linux using terminal.

Timestamps:
0:00 Intro & Context
0:22 Change Root Password as Root (passwd)
1:19 Change Root Password as Sudo user (sudo passwd root)
2:15 Closing & Outro

Need A Cheap Server To Practice Linux Commands On?
Get $100 free Vultr cloud credits https://www.vultr.com/?ref=8941242-8H

What is Vultr?
Vultr is a Cloud Hosting company. Vultr allows customers to deploy a cloud server in 15 Cities around the globe in less than 60 Seconds.

Grow your YouTube Channel with vidIQ https://vidiq.com/70s

Ubuntu Linux Tutorials (Playlist) https://www.youtube.com/playlist?list=PLco3v23oibTXMcX9Eh80_8OcnVs1SqsR2

Social Media
SUBSCRIBE https://www.youtube.com/@Websplaining?sub_confirmation=1
Instagram (Thumbnail Collection) https://www.instagram.com/websplaining
Twitter (For Newest uploads) https://twitter.com/websplaining
Reddit (Discussions) https://www.reddit.com/r/Websplaining
Personal Website https://www.websplaining.com

#passwd #ChangeRootPassword #sudopasswdroot

DONT FORGET TO LIKE, COMMENT, AND SUBSCRIBE!




Other Videos By Websplaining


2021-08-12How To Download And Install The latest NVIDIA GeForce RTX Graphic Card (GPU) Drivers
2021-08-07How To Optimize Any PC Game Settings Using The NVIDIA GeForce Experience App
2021-08-06How To Turn Off Or On Auto-capitalization And Auto-correction On Your Android Devices Gboard
2021-08-04How To Turn Off Or On Predictive Text (Suggestion Strip) On Your Android Devices Gboard
2021-07-31How To Check What Graphic Card (GPU) You Have Installed On Your Windows PC
2021-07-29How To Update NVIDIA GeForce Game Ready Drivers Or NVIDIA Studio Drivers
2021-07-25How To Remove An Added Email Account From The Mail And Calendar App On Windows 10
2021-07-24How To Disable Or Enable Startup Apps In Windows
2021-07-21How To Update Microsoft Office
2021-07-19How To Screenshot Tweets On Twitter
2021-07-18How To Change Root Password In Ubuntu Linux Using Command Line (Terminal)
2021-07-18How To Make New Directories or Folders In Ubuntu Linux Using Command Line (Terminal)
2021-07-15How To Convert Disk Partition Styles From MBR to GPT or GPT to MBR
2021-07-14How To Delete Your Netlify Hosted Website
2021-07-13How To Unpartition Or Delete Partitions For Your SSD, m.2 NVMe SSD, And HDD In Windows 10
2021-07-11How To Partition Your SSD, m.2 NVMe SSD, And HDD In Windows 10
2021-07-10How To Fix Android Smartphone Or Device Not Connecting To Your Computer For USB File Transfer
2021-07-10How To Turn Off Or On App Install Optimization On Google Play
2021-07-08How To Quickly Reformat Your SSD, M.2 NVMe SSD, and HDD In Windows 10 - How To Format Any Drive
2021-07-06How To Activate Your New SSD, M.2 NVMe SSD, And HDD In Windows 10 - Hard Disk Drive Not Showing Up
2021-07-01How To Uninstall Microsoft Edge Browser From Windows 10



Tags:
How To Change Root Password In Ubuntu Linux Using Command Line (Terminal)
ubuntu
linux
password
root
How To Change Root Password In Ubuntu Linux Using Command Line
How To Change Root Password In Ubuntu Linux Using Terminal
ubuntu linux
passwd
sudo passwd root
how to change root password
how to change root password in linux
how to change root password in ubuntu
how to change root password in command line
how to change root password in terminal
terminal
command line