Skip to main content
LinuxLinuxUbuntuOpen Source

Set Root Password on Ubuntu

Apisylux TeamJune 7, 20172 min read

Knowledge map

Article briefing

Published
Linux
Topic category
2 min read
Estimated reading time
Apisylux Team
Author
June 7, 2017
Published
July 8, 2026
Last updated
4
Tags
1
Category
2m
Read Time
1
Next Step
Set Root Password on Ubuntu
Set Root Password on Ubuntu article image
Set Root Password on Ubuntu - preserved image from the migrated article.

Overview

Root is a role for user in linux that gives you permissions to change, modify and remove Operating system files. Normal user is not allowed to open, edit and change the system files. Linux gives you the full power to modify the OS as you want, for which 'Root' is provided. To use the root, you need to set root password first.

On fresh installation of Ubuntu, you need to set root account by setting its password. You can simply set the root password by running a simple command.

Free Consultation

Need help with Linux?

Get a free strategy session with our experts — no commitment required.

Contact Us

To set root password:

Open Terminal by pressing ctrl+alt+T or by unity dash.

Type following command in the terminal:

sudo passwd

Key steps and notes

Root Password on Linux

It will prompt you to enter current User Account Password and, then Enter and Re-enter the password for root. Terminal will not show you the typing indications, so type your password by keeping it in mind. Once you entered, password will be updated.

Now you can use 'root' roles by typing the following in the terminal:

su

It'll prompt the password for the root. Enter the previously updated password for root.

Final notes

Note: User Account and Root password is different.

Check out: how to install Wine on ubuntu

Launch readiness

Let's turn your website into a working growth system.

Bring the goal. We'll help shape the offer, interface, lead flow, launch plan, and next actions so your website feels ready for real buyers.

Start Your Project

Project readiness panel

Online

Scope clarity

Discovery ready

Performance plan

Speed-first build

Launch path

Secure deploy

Lead flow

CRM-ready handoff

Free

Consultation

<24h

Response

Clear

Plan

Next action

Share your current website, project goal, and deadline. We'll return with a practical improvement path and first-step estimate.