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 was wondering if there is any way of giving root permissions to selected users on my RedHat machine. I personally do not log in as "root" but use my own username instead. I sometimes find it troublesome when sometimes i get access denied and have to log in as root to fix a problem. I want to give my self, as in my username, root permissions so that i can log in with my username and still have all the permissions of a root?
This is not a good idea from a security standpoint. One of the 2.5 million reasons why Windows has security problems is because everything is always run by Administrator or SYSTEM. One of the advantages to Linux, or any Unix-like operating system, is that the system is functional to a user without that user having enough access to erase every file in the system.
That being said, Linux also needs to be user friendly if it is going to continue to grow and propser. To make it more friendly to you, is there any single command that you run frequently that you are constantly being prompted for the root password for?
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
i dont think that is possible, but the 'su' command can give a user root access (or any other user for that matter) if they know the password for root. Although this wont allow you to log in as root by using your own username, it will temporarily allow you to use root's privelages while logged in under your username.
Be careful changing your user id to 0 to get root permission. I did this with RedHat 9 for the same reason you just did and I attempted to change my desktop in my username. When I did this something messed up and I can no longer log into that user name. I was going to just delete it and not worry, but because it was technically root I can't delete it and it isn't listed in the user names. So, it may seem easier, but once you start figuring stuff out it is much safer and just as easy in the long run to use su
I was going to suggest that you chmod 4755 whatever binaries are giving you problems. This is much easier and more secure because you are giving yourself root access per applications instead of the whole system.