Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
Distribution: Debian for Sparc, OpenSUSE 11.2, Solaris 9, Debian/x86, Ubuntu Server
Posts: 19
Rep:
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.
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.
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.
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
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
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!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.