Skip to content
⏳ Offer Ends Soon: Get 17 Linux courses, 4 certification courses, 7 eBooks and all future releases for life, just $99 → [Join Now]
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
17 structured courses, ad-free articles, and the weekly newsletter in one place.
  • ✓SSH, Bash, Ubuntu, Golang, n8n, AI for Linux, Claude for Linux, RHCSA, RHCE, LFCS, LFCA and more
  • ✓Ad-free access to all premium articles
  • ✓Priority help and Telegram community
  • ✓Weekly newsletter every Thursday
Join Root for $59/yr →

Linux Server Monitoring Tools

How to Monitor Performance Of CentOS 8/7 Server Using Netdata

How to Automate Daily Linux Health Checks with a Bash Script + Cron

4 Useful Tools to Monitor CPU and GPU Temperature in Ubuntu

How to Install htop on CentOS 8

How to Install Nagios Core in Rocky LInux and AlmaLinux

Bandwhich – A Network Bandwidth Utilization Tool for Linux

Learn Linux Tricks & Tips

How to Control Systemd Services on Remote Linux Server

mktemp: Create Secure Temporary Files Easily in Linux

Linux ‘tree Command’ Usage Examples for Beginners

How to Download Files to Specific Directory Using Wget

How to Restrict SFTP Users to Home Directories Using chroot Jail

HTTPie – A Modern HTTP Client Similar to Curl and Wget Commands

Best Linux Tools

8 Best Open Source Web Servers in 2024

8 Best Open-Source Disk Cloning & Backup Tools for Linux (2024)

11 Best PDF Editors to Edit PDF Documents in Linux

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

13 Best Photo Editing Software for Linux in 2024

11 Best Open Source Note-Taking Apps for Linux

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