Reply
Old January 12th, 2005 Top | #1
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default Ubuntu: root password not set???

I yesterday installed a laptop with Ubuntu Linux and I noticed it never asked for a root password. I only created an user with a password and that's it. When I try to login as root, no matter what I try, I can't login. Is there a default password set by Ubuntu install? Is there some sort of bootdisk that allows me to reset the root password, like there is for Windows NT?
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #2
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default

It's disabled by default, to enable it pop open a console and "sudo passwd root" then use "sudo passwd -l root" to lock it again at any point.
SPeedY_B is offline   Reply With Quote
Old January 12th, 2005 Top | #3
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

Thanks But isn't this a enormous security breach? This means everyone with an useraccount on my laptop can change the root password, right? Or do they have to be a member of a specific user group? :confused:
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #4
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default

Apparently it was done to increase security : http://www.ubuntulinux.org/wiki/RootSudo/view
SPeedY_B is offline   Reply With Quote
Old January 12th, 2005 Top | #5
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

Well, to me it isn't increasing security, it's annoying, I just want to login as root whenever I like and run programs and the lot. Maybe in a server environment this is nice, but not for me. I've just began to understand the world of linux and this requires me to learn the entire security model again. I don't want to do that, so for me it's back to Slackware Linux instead.
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #6
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default

Why? when you can just enable the root acc' as I said...
SPeedY_B is offline   Reply With Quote
Old January 12th, 2005 Top | #7
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

After more careful reading I must admit I was wrong. I thought you could only sudo <app name> to run an app, but now I see you can enable root access so I can login as usual, like you said SPeedY_B :blush:
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #8
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

What the heck? I was trying to compile Samba3, and it didn't find a (g)cc compiler. Turns out there is none installed! What a stupid distro.
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #9
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

This distro sucks donkey ass! According to the package manager gcc is installed, but it's installed someplace I don't know where it is. Now I will most definately move over to Slackware, at least Slack got it's things straight and most stuff works out of the box.
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #10
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default

You're giving up too easily
SPeedY_B is offline   Reply With Quote
Old January 12th, 2005 Top | #11

OSNN Folding Team  
Geffy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,805
Reputation: 1490
Power: 217

Default

actually the first user created is a sort of "Admin" and is added to the root group so only that user should be able to execute the sudo passwd root command

not that I am trying to defend it, I still dont really class Linux as being an operating system


blogtumbloglastfmflickr#rubyonrails@twitter
"I could be replaced with a very small shell script"
Geffy is offline   Reply With Quote
Old January 12th, 2005 Top | #12
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default

Gcc has to be installed. And samba is in their package management tools. You are not supposed to compile from scratch.
X-Istence is offline   Reply With Quote
Old January 12th, 2005 Top | #13
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

Ah I see. And please explain why you don't class linux as an OS?
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #14
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default

We were just talking about it on IRC...
16:09 <@[ninja]> Linux isnt an os
16:10 <@SPeedY_B> well it's not a birthday cake..
16:10 <@SPeedY_B> unless you're meaning that it's a kernel
16:11 <@[ninja]> no, I just dont consider Linux to be in anyway an operating system
16:12 <@[ninja]> its an educational toy that can be used to demonstrate how an operating system could be built, but its not a proper operating system in its own right
16:14 <@SPeedY_B> wouldn't say it's a toy
16:14 <@SPeedY_B> but it definitely needs more focus
16:14 <@SPeedY_B> as it is rather "all over the place" at the moment on the whole.
16:14 <@[ninja]> its not ready for any kind of production use, and its far too divided
16:15 <@SPeedY_B> that's what guys like fedora and ubuntu are trying to fix though.
16:15 <@SPeedY_B> bit too late i reckon, will take a long time to turn around what's already been done
16:15 <@[ninja]> yeah, in time it might become an operating system, but I dont yet think it is
16:16 <@[ninja]> and I dont think any of the current window managers are ready for any kind of mainstream desktop usage
16:16 <@SPeedY_B> which is why fedora etc use a bastardisation of kde/gnome/whateverelsetheybakeintoit
16:17 <@[ninja]> kde and gnome, neither are ready
16:17 <@[ninja]> bluecurve is worse
16:17 <@SPeedY_B> kde's functional, gnome is pretty.
16:17 <@SPeedY_B> they need to combine
16:18 <@[ninja]> I wouldnt say KDE has the kinds of functionality that people expect from a mature GUI system like windows or quartz
I'm sure more could of been said, but it wasn't an in-depth discussion
SPeedY_B is offline   Reply With Quote
Old January 12th, 2005 Top | #15
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

Originally Posted by X-Istence
Gcc has to be installed. And samba is in their package management tools. You are not supposed to compile from scratch.
But why can't I execute gcc and [s|n]mbd?
Glaanieboy is offline   Reply With Quote
Old January 12th, 2005 Top | #16

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default

Even more significantly, if root were enabled during install, the user would be required to forever remember the password they chose--even though they would rarely use it. Root passwords are often forgotten by users who are new to the Unix security model. (Matt Zimmerman)

For simple users like me
zeke_mo is offline   Reply With Quote
Old January 12th, 2005 Top | #17
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default

Originally Posted by Glaanieboy
But why can't I execute gcc and [s|n]mbd?

Because you need to open up their package manager, select what you want, hit install, and let apt-get do it's job.

Then you can execute snmbd and nmbd and gcc if you wish. I know it is a pain, but this Linux distro is for the standard user who wnats to surf the web, and check his mail, and edit a few documents.

So for us more technical people, it is not a distro of choice. It is a mandrake like system, but stripped down for ease of use even more. Contains just what standard people need, nothing more nothing less.
X-Istence is offline   Reply With Quote
Old January 12th, 2005 Top | #18
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 153

Default

Hmm. So basically I would have to create a new user which I would use to login to Linux. The user I created suring install is a Power User of some sort with rights to sudo to root. Am I correct?

edit: This was in reply to zeke_mo
@the rest: I'll continue to play with it, I am too curious to pull it off again.
Glaanieboy is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need MySQL help with root password Heeter Windows Server Systems 3 November 25th, 2007 6:59pm
OWA Root Certificate issues Punkrulz Windows Desktop Systems 3 February 19th, 2007 7:49pm
How do I find the root of a drive? quechubin General Hardware 6 October 30th, 2003 12:13am
Console Root Bman Windows Desktop Systems 2 March 15th, 2003 8:40pm
Finding root folder Captmatrix Windows Desktop Systems 1 March 12th, 2003 5:34pm