LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-05-2012, 12:53 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,241

Rep: Reputation: 109Reputation: 109
need root password for Debian i386 XFCE liveCD


What's the root password on the Debian liveCDs? It apparently isn't "root," and unlike the liveCDs I usually use, the login screen does not reveal the password. I need it because the Debian liveCDs apparently don't include the driver for my wireless card, and I would like to install the driver so the liveCD's installer doesn't get hung up for a long time on trying to detect my network. (It can still go through installation, but only after wasting a lot of time.) If the password is specific to the version, I'm asking about the XFCE i386 version (debian-live-6.0.4-i386-xfce-desktop.iso).

It's bad enough that distro designers make it unduly difficult for users to log in as root. It's worse that they leave out something important that I can't install without root privileges.

Last edited by newbiesforever; 06-05-2012 at 01:01 PM.
 
Old 06-05-2012, 01:06 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870
Debian Live-CDs normally have sudo enabled without password, IIRC. As is the case with almost any Live-CD out there, I would think.
 
Old 06-05-2012, 01:32 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,307

Rep: Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057
My experience in installing Debian 5.0.3 several months ago was that sudo was used on the Live/Install CD and there was no password. During the installation a root user was created and sudo was not enabled by default on the installed system.
 
Old 06-05-2012, 04:25 PM   #4
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,241

Original Poster
Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by TobiSGD View Post
Debian Live-CDs normally have sudo enabled without password, IIRC. As is the case with almost any Live-CD out there, I would think.
Oops...I evidently forgot to try sudo instead of su -. That worked. I guess it's only su - that I can't do. It's strictly the principle. For a distro to make it difficult to log in as root is like giving the user a car with the hood locked shut if not welded. I could get the appropriate tools and destroy the locking mechanism, but why should I have to? For instance, in KDE Trinity, /etc/kdm/kdmrc by default contains the line "AllowRootLogins=False," causing KDM to say "root logins are not allowed"; whenever I install Trinity, one of the first things I do is open the kdmrc file (as root, naturally) and change the line to "AllowRootLogins=true."

"UserIsAnIrresponsibleIdiotWhoWillMisuseRoot=false."

Last edited by newbiesforever; 06-05-2012 at 04:50 PM.
 
Old 08-14-2018, 10:36 AM   #5
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
I know this is an old post, but it comes up at the top in Google when I was looking for the answer.

To su -
Code:
sudo su -
by using sudo, su - it is still possible. And no password needed.



Edit: corrected my typo "su-" for "su -"

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com

Last edited by Wayne Sallee; 08-15-2018 at 08:27 AM. Reason: Oops: how did I do that? I left the space out of "su -".
 
Old 08-14-2018, 12:30 PM   #6
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,081

Rep: Reputation: Disabled
It used to be 'live', maybe it still is, other common passwords are root & toor.

When you have accidently deleted your entire system by running as the root user, you will understand why they lock the root account from the casual user.
 
Old 08-14-2018, 01:20 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,897
Blog Entries: 10

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Quote:
Originally Posted by Wayne Sallee View Post
I know this is an old post, but it comes up at the top in Google when I was looking for the answer.
you probably shouldn't be using debian 6 anymore, and for newer debian xfce i386 live isos the password may well have changed.
facit: pointless necrobump.

also:
Quote:
To su-
Code:
sudo su-
by using sudo, su- is still possible. And no password needed.

Wayne Sallee
Code:
sudo su-
sudo: su-: command not found

Last edited by ondoho; 08-14-2018 at 01:22 PM.
 
Old 08-14-2018, 01:54 PM   #8
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Quote:
Originally Posted by fatmac View Post
It used to be 'live', maybe it still is, other common passwords are root & toor.

When you have accidently deleted your entire system by running as the root user, you will understand why they lock the root account from the casual user.
Regular user password is live.

But to su - to root
Code:
sudo su -
works.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 08-14-2018, 01:58 PM   #9
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Quote:
Originally Posted by ondoho View Post
you probably shouldn't be using debian 6 anymore, and for newer debian xfce i386 live isos the password may well have changed.
facit: pointless necrobump.
I downloaded the Debian 9 live iso, and burned it to a DVD, then had to look up how to su to root. It's still the same answer with Debian 9 as it is with Debian 6.

Quote:
Originally Posted by ondoho View Post
also:

Code:
sudo su-
sudo: su-: command not found
Did you run that in Debian live?

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 08-14-2018, 02:08 PM   #10
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Quote:
Originally Posted by fatmac View Post
It used to be 'live', maybe it still is, other common passwords are root & toor.
I tried root, toor, and debian.

After that I did a google search. :-)
Then I tried live, then found in the google search that sudo worked, so I did the sudo su-

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 08-14-2018, 11:42 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,897
Blog Entries: 10

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Quote:
Originally Posted by Wayne Sallee View Post
Did you run that in Debian live?
i ran it in debian 9, not live.
i very much doubt it's different on the live disk. in fact i have never heard of a command called "su-".
 
Old 08-15-2018, 04:44 AM   #12
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
There is a difference between Debian Live and Debian installed.

Debian Live login "user" and password is "live". Sudo is enabled without password. So sudo <anycommand>. Sudo su makes you root. Without password. Simple, as expected, least surprise.

Once installed, Debian has a normal user, which is not in the sudo group by default. If you add the user to the sudo group a password is required by default for sudo commands.

Installed Debian has a normal root user with a normal password. su works and the root password is required. Sudo su also works for users belonging to the sudo group. If a password is required for sudo it has to be entered.

jlinkels

Last edited by jlinkels; 08-15-2018 at 04:47 AM.
 
Old 08-15-2018, 07:22 AM   #13
luizlmarins
LQ Newbie
 
Registered: Nov 2012
Location: São Paulo
Distribution: Debian
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
Try Debian Live + non-free:
https://cdimage.debian.org/cdimage/u...-live+nonfree/
 
Old 08-15-2018, 08:14 AM   #14
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Quote:
Originally Posted by ondoho View Post
i ran it in debian 9, not live.
i very much doubt it's different on the live disk. in fact i have never heard of a command called "su-".
There is no command "su-"
But there is a command "su -"

That's why you got the error.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 08-15-2018, 08:21 AM   #15
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Quote:
Originally Posted by Wayne Sallee View Post
There is no command "su-"
But there is a command "su -"

That's why you got the error.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
I see now that I had a typo in my first post. I went back and corrected it. I accidentally left the space out of "su -"

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change my root password in Debian Linux if I have the current password? panseluta Linux - Newbie 2 12-28-2008 02:02 AM
Debian root password reset JHuizingh Linux - Software 2 02-08-2008 01:47 PM
LFS LiveCD 6.2-5 root password Findus Linux From Scratch 2 08-20-2007 03:29 PM
Sentry LiveCD Firewall Root password Jkm3141 Linux - Distributions 1 06-29-2005 01:09 PM
XFCE menu ask for root password? infornography Linux - Software 2 09-06-2004 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration