LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


View Poll Results: How do you find out your root password???
i dont know 1 20.00%
i know, i will reply to your question in a min. telling you how or what it is 4 80.00%
Voters: 5. You may not vote on this poll

Closed Thread
  Search this Thread
Old 12-21-2006, 06:04 AM   #16
alphomega
LQ Newbie
 
Registered: Oct 2006
Location: southampton
Distribution: Fedora, CentOS
Posts: 17

Rep: Reputation: 0

try entering su -l root then enter your root password and then run the command.

Also if your root password is correct and its not acceping the command sudo then try gksudo. I remeber trying the unbuntu crap before and it used gksudo instead of sudo, but this was the warty (first) release many moons ago.

I also remember having to set the root password by typing passwd root.

Im not sure about root password resetting in ubuntu if its lost. many other distros will allow you to boot to run level 1 with the install cd, which will then enable you to reset your root password.
 
Old 12-21-2006, 06:11 AM   #17
robert.wolfe
LQ Newbie
 
Registered: Jul 2006
Distribution: Debian for Sparc, OpenSUSE 11.2, Solaris 9, Debian/x86, Ubuntu Server
Posts: 19

Rep: Reputation: 1
Command Not Found...

Quote:
Originally Posted by joejack_2
another problem, i entered that, it said "password:" so i entered the password, and now all the sudden it says that the cammand is not found, so what do i do???
This could be a couple of things here...

The command is not in a directory in your PATH statement or, literally, the command is not found, meaning the package that provided that command was not installed during the initial installation or afterwards.
 
Old 12-21-2006, 07:21 AM   #18
JPhred
LQ Newbie
 
Registered: Jul 2005
Location: Bryan, Texas
Distribution: SuSE
Posts: 25

Rep: Reputation: 15
ubuntu sux.
it will not accept the ;oem' password after installation
it will not install non-ubuntu apps
it will not install rpms
it is useless
 
Old 12-21-2006, 08:07 AM   #19
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
JPhred,

I think you are in the minority. Ubuntu cannot occupy the No. 1 position in Distrowatch.com for the last few years without some devoted supporters.

It is possible that the majority find their way round to get the best out of this distro.

Every distro is packaged for certain audience and a public attack in a thread unrelated to the topic isn't helpful.
 
Old 12-21-2006, 08:08 AM   #20
alphomega
LQ Newbie
 
Registered: Oct 2006
Location: southampton
Distribution: Fedora, CentOS
Posts: 17

Rep: Reputation: 0
it will not install rpms the same way red hat will not install .deb However you can use alien to convert rpms to .deb but not 100% all the time.
 
Old 12-21-2006, 08:09 AM   #21
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quite a discussion on root passwords when OP did not ask about that in the first place....Maybe the poll set us off...

Ubuntu HAS a root account---you simply have to enable it. Go to a terminal and type "sudo passwd root", your user password, and then the new root password at the prompt.

To build on previous answers, any command that you enter must contain the path in your $PATH variable. The root user will have more things in $PATH than will a regular user. You can always set up links for specific commands.
 
Old 12-21-2006, 08:13 AM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by JPhred
ubuntu sux.
it will not accept the ;oem' password after installation
it will not install non-ubuntu apps
it will not install rpms
it is useless
I'm sorry, but you are wrong on all counts:
Enabling the root account is trivial (if that's what you meant by ";oem'")
You can install ANY app on Ubuntu--by several different methods
It will install rpms--using alien.
I use it all the time and it gets the job done very nicely.

Other than that, I agree with you.....
 
Old 12-21-2006, 10:41 AM   #23
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
In Ubuntu, the root account is not "enabled" so to speak by default. To run the commands usually reserved for root, you just add "sudo" in front like you have been doing. Basically it temporarily gives you the ability to run those command. The password it wants is yours, or the password to the account your are logged into when "sudo"

Now as far as "command not found". It means just what robert.wolfe said. I would type

$ whereis <command you are trying to run>

That will show you the full path to the command. If all you get is

<command you are trying to run>:

Then the command is probably not on your system, meaning you need to install the software you are trying to run.

Once you knwo the full path you can either add the path to your profile, or enter

$ sudo full/path/to/the/command
 
Old 12-21-2006, 12:58 PM   #24
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
If you want to become a root user in Ubuntu you can do so by the following steps

(1) Get hold of a Live CD that permits a root log in, like one from the Slax family.
Not true
In ubuntu
From the terminal
Type

sudo passwd
 
Old 12-21-2006, 01:46 PM   #25
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Duck2006,

If Ubuntu accepts the root password there has been no necessity to change it with "passwd" in the first place.

My Kubuntu demands to see the root pass word when I issued "sudo passwd".

Same for Ubuntu 7.04

Last edited by saikee; 12-21-2006 at 01:51 PM.
 
Old 12-21-2006, 01:53 PM   #26
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Sorry called away

After typing

sudo passwd

you will be asked for your password,
enter it,
then you will be asked for the new password,
then asked to verify the new password

close log out.

log in as root
 
Old 12-21-2006, 01:56 PM   #27
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Yes with kubuntu it is a lot harder to log in as the root
With ubuntu it is easier to do so
 
Old 12-21-2006, 03:10 PM   #28
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Duck2006,

The whole point of this thread is Ubuntu did not accept the root password from the user who installed it!

If Ubuntu does not accept the root password then it could not allow root privileges and how can we make Ubuntu change the stored password. Have you got it now?

Kubuntu is just another version of Ubuntu that use KDE instead of Grome for the GUI
 
Old 12-21-2006, 03:25 PM   #29
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
hi, i enter in "sudo your_command" and it asked for the password, so i entered it in, but then it said "sudo: you_command not found" so does anyone know what to do know!!!
All i see is that the command not found
 
Old 12-21-2006, 03:25 PM   #30
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how on earth has such a trivial thread managed to make two full pages???

why have i just made it even longer???
 
  


Closed Thread

Tags
help, root



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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 07:27 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 PM.

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