Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently had someone install ubuntu on my laptop and something just doesn't feel right about it. I am a newbie and don't really know what I'm looking for or how to look for it. after trying to make sure none of my hardware had been swapped out and trying to find my webcam, I discovered I was set up as a user only. I asked for the superuser pass and I was told the root password but even logging in as root doesn't allow me access to hwinfo. also when I try to run anything sudo related I get 'can't resolve host sudo'. can somebody please help me with this? is this normal?

share|improve this question
    
I'd suggest getting an ISO from ubuntu.com and reinstalling. –  mikewhatever Aug 10 '11 at 7:25
1  
What exactly are you typing to get 'can't resolve host sudo'? This doesn't look right at all. Also, in Ubuntu by default there is no root password though the original user can sudo to root by typing "sudo su" and entering their own password. I don't understand why the person who installed the machine knew the root password - I don't know root password to any of my machines :) –  Sergey Aug 10 '11 at 7:45
    
You need to open a terminal emulator and then type sudo hwinfo. –  user606723 Aug 10 '11 at 16:41
    
This is a known bug : bugs.launchpad.net/ubuntu/+source/rescue/+bug/19553 and is caused normally, according to the bug during installation when the installer names the PC. Can you go into your terminal and type this for us. Once done post the output here?s caused normally, according to the bug during installation when the installer names the PC. Can you go into your terminal and type this for us. cat /etc/hosts Once done post the output here? –  Christopher Stansbury Aug 10 '11 at 19:12
    
I typed in sudo hwinfo and it says exactly –  cheryl Aug 11 '11 at 6:50

1 Answer 1

I think your problems with "unable to resolve host blackbook" are not directly related to your problems with starting hwinfo. The latter, I suspect, is caused simply by the fact that hwinfo in not installed by default. At least I checked a few of my machines and none of them have hwinfo installed. I have to admit that I don't have access to a recent "vanilla" Ubuntu box - all of mine were upgraded from older Ubuntu versions. To install the program open a terminal and type the following:

sudo apt-get install hwinfo

(actually, the error message should've told you to do so). Enter your own password when it asks - not root's.

Then you'll be able to start it by typing

sudo hwinfo

(provided that it needs to be started as root, as somebody stated in the comments. Otherwise just type hwinfo)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.