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.
I tried to install a Linux distribution Ubuntu Studio 7.1, and it crashed. I have no idea why. Does anyone know about installation problems with this distribution? This is what I tried: install cd, boot, a installation utility appeared on the screen, I selected install. Then, it asked some questions for the install and I created a user, and it started to install. Then, it said it was all done, it rebooted. It looked like it worked. Then, I could log in and I could see the desktop. I logged out and tried to log in as "root". It did not ask me for any root password during the installation. Is it supposed to? What do I use for the root password? I could not try to find out about any of the stuff that I need root for.
1) Does Ubuntu Studio 7.1 have a root account? What is the root password to get in?
2) Is there another administration account? It did not tell me anything in the installation about a root account or administration account. All I was able to do was be a user. Is that how Ubuntu works?
This distribution is supposed to have neat stuff for audio and video. I thought that it would be neat for art school. Now, I think that I can not use it, because I can not do anything that root does with it. How do people use this distribution?
Ubuntu has a root account, but by default you cannot log in as root (for security reasons). Use the sudo command to execute commands with root authority. During installation, Ubuntu sets up the user to be allowed to use the sudo command to execute commands that need root authority.
That's why you didn't set up a root account with a password during installation.
You can probably find out more about it by reading Ubuntu documentation at the Ubunut website if you don't have it installed on your machine.
2) Can you create a root account, or is it disabled? Can you re-enable it?
I am trying to understand about Ubuntu. Doesn't the Linux kernel include a root account? This Linux is new to me. I did not know about Ubuntu until so many talked about it on the forum.
3) sudo? How does that work?
"sudo is a package which will allow priveleged users to run commands as other users. This is sort of like assigning users to different groups to give them special permissions to files. However, this can allow users acccess to specific commands on specific machines, making it a more effective and more organized way of giving special priveleges to users."
How do I know if that package is installed or not? There was no option to select it. I can not install anything without root, so if it is not there then I can not do anything with it.
" This site is where you can find the official documentation developed and maintained by the Ubuntu Documentation Project.
This page contains documentation for Ubuntu 7.10, the latest stable version, released in October 2007."
I found the administration section of the site from the install package link, To launch Synaptic, press System → Administration → Synaptic Package Manager. You need administrative access to use Synaptic. See Administrative Tasks for more details.
For security reasons, administrative tasks in Ubuntu can only be performed by users with special administrative privileges.
Administrative access can be given to individual users, who may use the sudo command to perform administrative tasks. The first user account you created on your system during installation will, by default, be able to perform administrative tasks.
When you run an application that requires administrative privileges, you will be asked to input your user password. This ensures that rogue applications cannot damage your system, and serves as a reminder that you are about to perform administrative actions which require you to be careful!
All of the default graphical configuration tools in Ubuntu already use sudo, so they will prompt you for your password if needed.
Each time you insert the password, the system remembers it for 15 minutes so that you do not have to type it again.
For more information on the sudo program and the absence of a root user in Ubuntu, read the sudo page on the Ubuntu wiki.
When I tried to do an administration task, I was asked for a password! This says that the user that you load Ubuntu with is given the administration privilege. It did not do so for me! I entered in the user password that I used to log on, and it said that the password was incorrect. I carefully typed it in again and it said the same thing. I tried some other actions, and it said that I need administrative access and that I was to enter in a password. The documentation says that I am not supposed to have to do that.
Has anyone had this problem? I can not use it if I can not get administrative or root access!
Last edited by newtovanilla; 05-01-2008 at 06:18 PM.
"By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su command to become the root user, however, since the root account physically exists it is still possible to run programs with root-level privileges. This is where sudo comes in; it allows authorized users (normally "Administrative" users; for further information please refer to AddUsersHowto) to run certain programs as root without having to know the root password.
This means that in the terminal you should use sudo for commands that require root privileges; simply prepend "sudo" to all the commands you would normally run as root. For more extensive usage examples, please see below. Similarly, when you run GUI programs that require root privileges (e.g. the network configuration applet), you will also be prompted for a password. Just remember, when sudo asks for a password, it needs YOUR USER Password, and not the root account password."
They should put this in the installation cd because it was really frustrating to a newbie like me. I thought that it was not installing correctly. It did ask for a password, and I entered it. I tried that again. It still did not like it. The password was the right one because I logged on with it. I can try it again and see if it works.