LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-21-2007, 12:16 PM   #1
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Ubuntu install...no root?


I just installed Ubuntu 6.06.1 on my IBM A30 laptop as a dual boot. I d/led the CDROM iso starting from the Ubuntu site.

Well, turns out this cdrom is a live CD that can be installed on a HD, and according to the Ubuntu site this is the best way to go. So I did it.

During the install, it never prompted me for a root password, and now that it is installed I seem to have no access to a console window via X (though, of course, ctrl-alt-Fx works OK).

Having done a ctrl-alt-F1 to get a console, I can't log in as root because there is no password for root. Similarly, logging in as the user that Ubuntu prompted me to become during install works, but I can't su or sudo because there appears to be no root password - not a blank password, but no password that is known to me. I can't access /etc/shadow because I don't have permission.

This is ridiculous. I can always break into the system from outside and establish root, but I shouldn't have to do that. Does anyone know what (a) I did wrong in the install or (b) how I can establish root in a nice fashion?

Also, Ubuntu properly identified the laptop's wireless connection. But I can only connect to my DLink wireless router if I have WEP encryption disabled on the router (A30 is too old to support WPA; WEP is what I have). Seems that when I enable WEP on the router, nothing I do on the laptop enables a connection. I suppose it is a key error, but I can enter the key as either ascii or hex (should be hex) and it isn't taken. Is this a known bug perchance? WEP does work properly, BTW, in Windows XP Pro which is the Windows OS that is on the laptop.

My initial impression of Ubuntu is that it is trying to hide a lot of stuff from me - just like Windows does. I don't like that at all but, since it is linux, if I can get root set up I'll be able to change it to be what I want.

I decided to give Ubuntu a try because it was listed as the most popular distro on this site, so I figured I would see what it was about. The 40 Gig HD on my laptop died a couple of weeks back and after doing a full recovery of the old HD via Knoppix, I replaced the HD with a 100 Gig drive, and streamed the recovered image back onto the new HD. This left me with about 60 gigs free and, after fiddling with the partition organization a bit, I decided to install Linux in the free space.

But I really need root. And I really need WEP to work properly. Any ideas, anyone?
 
Old 03-21-2007, 12:28 PM   #2
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Rep: Reputation: 31
try System --> Administration --> Users and Groups
click the checkbox that says :"Show all users and groups"
root should be on the top. Select root, then click Properties
go down to password, set password by hand. Then set the password.

job done.

Unless I missed something in your post.
 
Old 03-21-2007, 12:29 PM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
use sudo with your USER password
sudo never uses the root password, even if there is one
 
Old 03-21-2007, 12:32 PM   #4
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
I hope that fixes your password problem.
Timely post for me. I'm just getting ready to install my first try of Ubuntu 6.10.
Is this 'normal' for the install not to allow you to set a root password?
 
Old 03-21-2007, 12:54 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
It did let me set the root password from the Users & Groups utility. Now if I can just get WEP working...

My router is locked down sufficiently that I can turn WEP off without serious risk, and I normally browse from my laptop via SSH to a proxy on my workstation, so it doesn't *really* kill me to turn WEP off, but I'd prefer not to.

Then I want to install and use KDE...
 
Old 03-21-2007, 02:22 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by DotHQ
Is this 'normal' for the install not to allow you to set a root password?
Yes, Ubuntu is designed to work without the root account.
 
Old 03-21-2007, 02:25 PM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
https://help.ubuntu.com/community/RootSudo

 
Old 03-21-2007, 02:31 PM   #8
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
Quote:
Originally Posted by uselpa
Yes, Ubuntu is designed to work without the root account.
I just finished my first install of ubuntu. No chance at all to put in a root pword during the install. Being a Unix / Linux user ...having no access to root makes no sense to me, but it's way to early for me to judge. When I logged in and finally found the terminal window it did say (first thing) to use sudo for root tasks.
I don't understand the 'no root' concept yet ....but I was able to change the root password via the user/groups window.
 
Old 03-21-2007, 02:34 PM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You can also do it from the terminal - just use "sudo passwd". But you should try to work without it, it's quite easy indeed in Ubuntu.
 
Old 03-21-2007, 06:34 PM   #10
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
Well, I have kde installed now, so I guess this is now kubuntu.

It has gone together pretty smoothly, though I do have some complaints. I think that a beginner would like this distro because it pretty much set itself up. It annoyed me a bit by trying to hide some things.

I was impressed that it found and set up my wireless networking, but I'm unhappy that WEP isn't working. I do prefer kde to gnome, and I had to google to figure out how to install kde. Once I got that information, the kde installation went quite smoothly.

I haven't been able to install mplayer; apparently there is an unsatisfied dependency to a "broken package". I haven't exactly figured out the implications of that yet.

I usually compile mplayer and other multimedia stuff from source, but none of the development tools are available on this system and I have yet to figure out how to obtain them.

So far, I can't seem to get it to join my home workgroup, which is composed of a mixture of linux and windows systems. I can, however, access shared directories on either type of system (I use smb throughout just for simplicity) if I invoke the target machine by IP address. I have my linux workstation set up as a WINS server; I suppose I don't have the laptop properly configured to look for it.

To this point, I have to say that it has been a smooth and easy installation. I've had a couple of problems, but not real serious ones and the laptop is starting to look like what I like. So that is progress.

Last edited by jiml8; 03-21-2007 at 06:40 PM.
 
Old 03-21-2007, 07:37 PM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by jiml8
I was impressed that it found and set up my wireless networking, but I'm unhappy that WEP isn't working. I do prefer kde to gnome, and I had to google to figure out how to install kde. Once I got that information, the kde installation went quite smoothly.
Well, you've done the hardest part. What card do you have?
You probably are mixing hex code or using a bad length. WEP is really straightforward.
Quote:
I haven't been able to install mplayer; apparently there is an unsatisfied dependency to a "broken package". I haven't exactly figured out the implications of that yet.
Strange. I use aptitude which tries to resolve conflicts.
Quote:
I usually compile mplayer and other multimedia stuff from source, but none of the development tools are available on this system and I have yet to figure out how to obtain them.
I see no reason for compiling Mplayer from source. Unless somebody proves me the opposite (as I've never tried, I could be wrong..)
mplayer has a builtin cpu autodetection and should adapt to your settings. It should be as fast as the source version.
 
Old 03-22-2007, 11:01 AM   #12
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by nx5000
Well, you've done the hardest part. What card do you have?
You probably are mixing hex code or using a bad length. WEP is really straightforward.
THe card is whatever comes in the A30 laptop. I don't recall and that computer isn't in front of me. As far as WEP is concerned, all I see for what I type is a line of asterisks. Entering the keycode isn't a big deal; I reentered it many times with no effect. WEP pretty much has to be broken and I can't tell how without a lot of work.

Quote:
Strange. I use aptitude which tries to resolve conflicts.

I see no reason for compiling Mplayer from source. Unless somebody proves me the opposite (as I've never tried, I could be wrong..)
mplayer has a builtin cpu autodetection and should adapt to your settings. It should be as fast as the source version.
Turns out aptitude had a bunch of the repositories turned off. When I turned them on, it found the needed files and mplayer installed.

As for compiling from source, this gives the capability to get the latest version, which is often a good idea if a security issue is discovered. It also enables configuring the package in detail with particular options. Also, sometimes a package isn't available or for some reason won't install.

And then, of course, there is the fact that sometimes you just gotta do it from the source...why not?
 
Old 03-22-2007, 12:12 PM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by jiml8
THe card is whatever comes in the A30 laptop. I don't recall and that computer isn't in front of me. As far as WEP is concerned, all I see for what I type is a line of asterisks.
Ah ok I see. You mean from a gui (hum which one?) While I can understand the benefits of the GUI, sometimes you can also try the hardcore but easy way:
edit /etc/network/interfaces and try to edit your key manually:

Quote:
wireless-key 0123-4567-89ab-cdef
wireless-key 12345678
wireless-key s:password <--- probably what you want
man interfaces
man wireless

Quote:
Turns out aptitude had a bunch of the repositories turned off. When I turned them on, it found the needed files and mplayer installed.
Good.
Quote:
As for compiling from source, this gives the capability to get the latest version, which is often a good idea if a security issue is discovered. It also enables configuring the package in detail with particular options.
Ok for the options. Although I don't miss anything for mplayer with default ones..
For security updates they are handled high priority and generaly in a few days its corrected (we are talking about multimedia here not apache are anything, and you dont run mplayer as root)

The advantages is that a package is a self contained block, tested. You can also concentrate on really using your box, rather than just compiling everytime something new arrives.
 
Old 03-22-2007, 01:01 PM   #14
mustafa parlaktuna
LQ Newbie
 
Registered: Aug 2006
Location: eskişehir turkey
Distribution: ubuntu 6.06
Posts: 9

Rep: Reputation: 0
you can become root by writing sudo su in the terminal
 
Old 03-22-2007, 01:58 PM   #15
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by nx5000
Ah ok I see. You mean from a gui (hum which one?) While I can understand the benefits of the GUI, sometimes you can also try the hardcore but easy way:
edit /etc/network/interfaces and try to edit your key manually:
So that is where it is? Yes, often getting down and dirty with the config files is what is required. I didn't know where that info was kept for wireless and hadn't settled down to search for it.

GUI is the standard "Networking" utility that Ubuntu installed.

Actually, it turns out that my problem with the laptop connecting to the workgroup on the LAN came about because of this utility. Seems that the utility set the name of my workgroup someplace, but that someplace didn't include in smb.conf. When I edited smb.conf and changed the workgroup name, suddenly everything worked.

There's a good chance that manually setting WEP will fix that too. Does Ubuntu support multiple wireless configurations (like for when I am traveling?)
 
  


Reply



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, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 07:17 PM
can you install games on ubuntu that are windows?my children love ubuntu but we can't chasity Linux - Software 3 07-14-2006 12:15 AM
does Ubuntu have a root mystic_durle12 Ubuntu 9 11-05-2005 05:28 PM
Ubuntu doesn't ask for root pass during install?? Ay-Karamba! Ubuntu 1 09-02-2005 04:50 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM

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

All times are GMT -5. The time now is 08:45 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