Skip to content

Set the default root password

Setting the default root password: Some Live Linux distributions are created without a root password by default (the root account is inactive). This is particularly true with Debian based distributions like Ubuntu. Setting a root password enables us to access some essential tools such as the synaptic installer. In most cases, having no root password is fine when your running from a Live CD and don’t need to do administration tasks, make changes or install additional packages. But for those of us who do want to make administrative changes and save them back to a USB device or local storage device on for example a properly created “casper-rw” partition. Setting the root password might then be necessary.

How to set the default root password:

This process is known to work on most Debian based LIVE distributions like Ubuntu or Pendrivelinux releases previous to Pendrivelinux 2008. Other distributions may vary.

  1. Open up a terminal and type sudo passwd root
  2. Follow the onscreen instructions to set and confirm your new password
More :
Who is Linux Torvalds?
Origin: Famous Linux Distibutions
Themes for Ubuntu Intrepid Ibex
Commands that Should not be run in ubuntu

Dipin Krishna

Written by Dipin Krishna

Senior full-stack engineer with 15 years across Django, Laravel, SwiftUI and the infrastructure underneath. Available for contract work.

Work with me →

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.