Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

root password of debian live cd?

6,349 views
Skip to first unread message

bw

unread,
May 29, 2023, 10:51:07 PM5/29/23
to
> do you know root password of cd above?
try sudo -i there usually is no root passwd

and if it asks try 'live'

> why do they create root password of live cd?

probably something like this
https://en.wikipedia.org/wiki/Principle_of_least_privilege

Timothy M Butterworth

unread,
May 30, 2023, 12:10:07 AM5/30/23
to


On Tue, May 30, 2023 at 12:02 AM hlyg <hlyg...@outlook.com> wrote:
Thank bw! internet search also shows that live is password, but it's not
correct

Live is the password you use with sudo as there is no root password set. 

i have rebooted,
> .
i think they disclaim all responsibilities, they can use empty password,
as some other distro do


--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

to...@tuxteam.de

unread,
May 30, 2023, 12:41:42 AM5/30/23
to
On Tue, May 30, 2023 at 07:52:21AM +0800, hlyg wrote:
> debian-live-11.0.0-i386-lxde.iso
>
> do you know root password of cd above?

the "standard" Debian live user is "user" with password "live"
>
> why do they create root password of live cd?


This seems to have been discussed like eight years ago:

https://lists.debian.org/debian-live/2015/05/msg00081.html

Perhaps it should go into a FAQ.

Cheers
--
t
signature.asc

Timothy M Butterworth

unread,
May 30, 2023, 2:20:07 AM5/30/23
to


On Tue, May 30, 2023 at 2:03 AM hlyg <hlyg...@outlook.com> wrote:

On 5/30/23 12:37, to...@tuxteam.de wrote:
>
> This seems to have been discussed like eight years ago:
>
>    https://lists.debian.org/debian-live/2015/05/msg00081.html
>
> Perhaps it should go into a FAQ.
>
> Cheers


Thank tomas!

many packages break because of empty password? some other distro have no
password for live cd, they don't break?

i have tried latest deb11 live cd for i386/gnome, live or Live aren't
correct passwords

The Live CD has no root password you have to use sudo. 

Default User

unread,
May 30, 2023, 11:00:06 AM5/30/23
to
I don't mean to clog up this thread with an unnecessary post, but I
just wanted to note that I (unfortunately) have had to use (as recently
as 2023-05-28):

debian-live-11.7.0-amd64-gnome+nonfree.iso

a number of times recently, due to flatpak being a corpulent space hog,
obnoxiously trying very hard to fill up my /var partition (10Gb, as
originally set by the Debian installer).  But that is just a side
issue.

(Note: this is the Gnome Live image that has the non-free extra
drivers, etc., not the "standard" Debian Live image. Perhaps the
standard Debian Live image works differently; I never use it. And
note, this is Debian 11.7 (Bullseye), Debian 12 (Bookworm) may also act
differently.

I can state that in my experience, unequivocally, it boots into a Gnome
DE without any password needed. If administrative permission is needed
to do something, "sudo <command>" works, without having to enter any
password. Example:

sudo apt install timeshift
<ENTER>

This post is just a FWIW. Feel free to disregard.

Richmond

unread,
May 30, 2023, 11:30:07 AM5/30/23
to
Timothy M Butterworth <timothy.m....@gmail.com> writes:

> On Tue, May 30, 2023 at 2:03 AM hlyg <hlyg...@outlook.com> wrote:
>
>
> On 5/30/23 12:37, to...@tuxteam.de wrote:
> >
> > This seems to have been discussed like eight years ago:
> >
> >    https://lists.debian.org/debian-live/2015/05/msg00081.html
> >
> > Perhaps it should go into a FAQ.
> >
> > Cheers
>
>
> Thank tomas!
>
> many packages break because of empty password? some other distro
> have no
> password for live cd, they don't break?
>
> i have tried latest deb11 live cd for i386/gnome, live or Live
> aren't
> correct passwords
>
>
> The Live CD has no root password you have to use sudo. 

Someone here suggested using live-config as a command line parameter in
Grub.

https://forums.debian.net/viewtopic.php?t=102937

If you are logged in as user you can use:

sudo bash

To get a root command prompt and set the root passwd using

passwd
0 new messages