Skip to content
Learn Linux in 7 structured days, the free course inside Pro TecMint Sudo tier    Enroll Free
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise

Enable Root in Ubuntu

Enable Root Login in Ubuntu

How to Enable and Disable Root Login in Ubuntu

By default Ubuntu does not set up a root password during installation and therefore you don’t get the facility to

TecMint Weekly
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
Free forever. Unsubscribe anytime.
Learn Linux Right Way
15 structured courses, ad-free articles, and the weekly newsletter in one place.
  • ✓SSH, Bash, Ubuntu, Golang, RHCSA, RHCE, LFCS, LFCA and more
  • ✓Ad-free access to all premium articles
  • ✓Priority help and Telegram community
  • ✓Weekly newsletter every Thursday
Join Root from $8/mo
$8/mo or $59/yr. Cancel anytime.

Linux Server Monitoring Tools

How to Install Cacti (Network Monitoring) Tool on RHEL Systems

Amplify – NGINX Monitoring Made Easy

How to Monitor Docker Containers with Zabbix Monitoring Tool

How to Monitor Ubuntu Performance Using Netdata

whowatch – Monitor Linux Users and Processes in Real Time

How to Monitor Linux Server Security with Osquery

Learn Linux Tricks & Tips

How to Lock a File for Renaming/Deleting in Linux

CDIR – A Faster Way to Navigate Folders and Files on Linux

How to Find Number of Files in a Directory and Subdirectories

How to Remove a Directory and File in Linux Using ‘rm’ Command

fswatch – Track File and Directory Changes in Linux

How to Recover Deleted Files in Linux Before They’re Gone

Best Linux Tools

9 Best Free UPnP and DLNA Servers for Linux in 2024

Top Cross-Platform Apps for Linux, Windows, and Mac in 2025

8 Best IRC Clients for Linux in 2024

Top 5 Linux Programs for Students in 2025

10 Best Google Drive Clients for Linux in 2023

Top 6 Linux Apps You Should Install This Week (Sept 15-21)

Tecmint: Linux Howtos, Tutorials & Guides © 2026. All Rights Reserved.

The material in this site cannot be republished either online or offline, without our permission.

Hosting Sponsored by : Linode Cloud Hosting