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'm no expert, but no, I never use root as a login... never, never, never. If I need to do something with root priviledges, I'll use su, issue the command, and exit from su.
I'm deathly afraid of developing scripts as root, especially if I want them to remove files. There's no telling what system files your script could kill while you're debugging it.
Besides that, if you're root and come across the rare linux virus, any command could get infected (ls, cp, mv, ps...) because any process you launch has write priviledges to those commands. Not using root access all the time is why linux is far less susceptible to viruses than Windows.
I did an "rm -fr /msdos" a few years back on my Linux box and wiped out my Windows 95 stuff (some might say that was a good thing), but it contained all of my expense records, etc and it was really maddening to try to recover it.
root is dangerous, since that experience I always sit on my hands first before I execute commands such as halting, rebooting, deleting, because you just never know....
I was new and fresh to linux about a year ago... I had no idea what I was doing. I completely taught myself everything I knew by trial and error. I always used root... and found out the hard way that it wasn't right. I ended up having to reinstall Mandrake 6 times completely before I stopped using root.
for me, I only have to su maybe 2 or 3 times a day anyway, my normal "work"load doesn't require me to be logged in as root. why run the risk when I'm not really gaining anything except maybe 20 seconds of typing ?
After reading this posting as a newbie I understand now why not to log on a root many thanx to all for this info
Just one question arises from this how do I export all of the setting that I have set up under Root to my User account.
Sorry if this seems a bit dumb but after working for far too long with Microsoft Bloatyware for so long I have become lazy in my ways
Its probably something so obvious that I missed it
Duhhh Microsoft made me stupid
Also if you are working in a desktop environment, browsing the internet or chatting online root is dangerous. One time I tried to use X-Chat as root and it gave and error message saying something like "Running X-Chat as root is stupid....Don't do it!"
See if you get messed with while logged in as JoeSchmoe its tuff for an attacker to get anything done because JoeSchmoe doesn't have a lot of control over the system. If they get you as root...well you'll get rooted!