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.
How can i create a user account that have power as of ROOT account?
I read that using root account is bad. But many times its
necessary to have root account,so can it be possible to have user account that
look like normal user account but will do all task as root?
That would be just as bad as using the root account. For normal system use you shouldn't need the root account at all. If you do, using sudo or su to temporarily give you root is a lot safer then having a user that always has those privileges. You can even setup sudo to not require a password to elevate privileges, but at least you have to go the slightest bit out of your way, so you understand the power you have before you use it.
I see not using the root account as a protection against yourself. I have seen people doing things with chmod, rm, and the recursive flags far to many times as root without realizing the implications of what they did..... until everything got screwed up anyway.
You should just switch to root when you need to. If you do it frequently, you can configure certain things, like access to removable drives, so that normal users can handle it. Or you can look into sudo and like commands. But you definitely don't want to be trying to have two roots. What it *looks* like is irrelevant. There's very little you need to do as a normal user that you can't.
As trevelluk said, in general you don't need root access for sockets. You run i.e. a mail client or telnet and they don't require root powers.
The only time you need root powers is when you use raw sockets. But there is a way araound that (setuid). The ping command uses raw sockets but you don't have to be root to use it (at least, normally not)