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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
View Poll Results: How do you find out your root password???
i dont know
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
Command Not Found...
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.
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