LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 01-19-2005, 02:21 PM   #1
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
just got ubuntu live cd and install cd


i want to know what is the password for the root for the live cd

i want to apt-get it complain i need to be in root in order to do that

thnks
 
Old 01-19-2005, 02:52 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
root is disabled on ubuntu. Use sudo apt-get <program> followed by your password to run it.
 
Old 03-18-2005, 05:45 PM   #3
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Rep: Reputation: 15
Why did they take out the root account? Isn't this a security line of defense that they took out?

just wondering,

thanks.
 
Old 03-18-2005, 08:17 PM   #4
Greyweather
Member
 
Registered: Aug 2003
Distribution: Ubuntu 4.10
Posts: 311

Rep: Reputation: 30
https://www.ubuntulinux.org/wiki/RootSudo

Isn't sudo less secure than su?

The basic security model is the same, and therefore these two systems share their primary weaknesses. Any user who uses su or sudo must be considered to be a privileged user. If that user's account is compromised by an attacker, the attacker can also gain root privileges the next time the user does so. The user account is the weak link in this chain, and so must be protected with the same care as root. On a more esoteric level, sudo provides some features which encourage different work habits, which can positively impact the security of the system. sudo is commonly used to execute only a single command, while su is generally used to open a shell and execute multiple commands. The sudo approach reduces the likelihood of a root shell being left open indefinitely, and encourages the user to minimize their use of root privileges.



While there are various advantages and disadvantages to this approach, compared with the traditional superuser model, neither is clearly superior overall.

By encouraging the execution of single commands with root privileges, rather than opening a shell, sudo:

-Reduces the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root

-Provides a more useful audit trail

Having a separate root password provides an extra layer of protection if an administrative user's password is compromised

In either case, if the administrative user (who uses sudo or su to become root) is compromised, the attacker can generally gain root through an indirect attack

Last edited by Greyweather; 03-18-2005 at 08:19 PM.
 
Old 05-05-2008, 11:52 PM   #5
trinikrono
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 1
sorry for being really late

so i was searching for answer for the same question raised here. Which i still found wasnt answered but then i remebered something and decided too post.
Run the following command too change the root user's password
sudo passwd root

and it will ask you for the new password you can put it as 1 or something:
just something for you guys who love su instead of sudo
 
1 members found this post helpful.
Old 06-05-2010, 05:20 PM   #6
aeb1
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Using a 10.04 LIVE CD as ROOT

I needed to fix an existing Linux 8.04 LTS system that crashed because of an upgrade ( the AUTOMOUNT system somehow had the /auto directory deleted on the existing system )

To edit the ORIGINAL boot drive, I brought up a ubuntu 10.04 LIVE CD in the system.

The key command: sudo su in a Terminal Window.

This allowed me to replace the missing /auto directory on the original drive. The system now boots normally.

Last edited by aeb1; 06-05-2010 at 05:21 PM.
 
Old 03-02-2012, 04:03 PM   #7
mellor
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by trinikrono View Post
so i was searching for answer for the same question raised here. Which i still found wasnt answered but then i remebered something and decided too post.
Run the following command too change the root user's password
sudo passwd root

and it will ask you for the new password you can put it as 1 or something:
just something for you guys who love su instead of sudo
Thank You!!
Worked like a charm....

Here is why I NEDDED the su/root password.
Customers Ubuntu OS crapped out. I needed to pull the db, but couldn't access the directory unless I was root or su.
I couldn't sudo cd.

So thank you for posting an easy work around to an OS oversight.
 
  


Reply

Tags
live, repair, root, ubuntu


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
Ubuntu Live CD thoyler Linux - Newbie 12 04-02-2007 10:27 PM
SB live 24 bit and ubuntu socrates50 Linux - Hardware 3 09-13-2005 11:43 PM
ubuntu 5.04 live having some problems eric123abacus Linux - Laptop and Netbook 1 09-11-2005 10:34 AM
cant get my ubuntu live cd to work Shadow_gazer Linux - Newbie 2 09-05-2005 01:32 AM
Ubuntu Live CD!! Rory in Toronto Linux - Newbie 1 10-09-2004 03:15 AM


All times are GMT -5. The time now is 05:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration