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.
Taking aysiu's advice, I am now running ubuntu and it is amazing (I've been a M$ user all my life and red hat seemed... stupid)
Now, when I installed it it asked me for an admin (su) password and for me to make a username. I did.
It turns out that I am now always considered a user and not an admin. Everytime I want to install something, change some settings, or save in the root, I am told that I either dont have the permission (even thou I am the only user) or that I need to re enter the password I had just entered not 4 minutes ago.
Is there a way for me to make my user the admin so that I can do anything anytime?
What your asking to do is something many Windows converts ask initially apon switching. Let me be frank, it is a HORRIBLE idea to run as an admin all the time.
Once you have your system setup there should be relatively little you ever need to do as an administrator. Running as admin all the time just opens you up to trouble. That is probably the number one flaw in the security model of Windows. People run as root all the time so it makes it effortless for spyware and virus' to work there way into the system.
My suggestion is to get used to a little program called sudo. Sudo allows you to escalate your privlages for a short period of time to do certain tasks. It requires you to enter in a password, but that is actually kind of a good thing... as it means nobody can be escalating permissions without realizing what they are doing first.
Yes, it is possible to give a standard user these permissions. However, most people will advise against you doing this. There are several reasons to not do this, one being security.....Blah, blah, blah....Jtshaw beat me to the punch and replied while I was typing. Anyway, I agree with Jtshaw and the majority of the Linux communty will agree as well. It's just better to not use root unless you have to.
I think I read somewhere that even in Microsoft's upcoming Longhorn release of Windows they won't have the default user be an administrator.
For Ubuntu in particular, you keep sudoing at the command-line. You can also enable a root log-in (most Linux distros allow--though don't encourage--a root log-in).
Honestly, most of the time, you shouldn't need root (or sudo). It's just for installing software or making system-wide changes. In this age of viruses, spyware, hacking, and whatnot, don't you want to know every time the system is trying to install software or make a system-wide change?
yes. windows is moving to the same system.
Trouble is, when I was setting up MYSQL, I found you are strongly advised to have a separate password for that...and not root...that brings you to three, then there's WIFI, or kppp were asking for passwords. At one stage, I was cursing about a password hell...