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.
Here is my question. How can I give someone Root privileges without having to go into a shell and use the su command. For example, in Windows I can just go into Users in the Control Panel and give who I want Administrator privileges. Is there a way to do this in Linux? More specifically, is there a way to do it in SuSE 9.2 Pro? I want to give my profile total access to the computer, like Root does, but am unable to because I can't find how to give myself root status. I am therefor stuck with logging on as root (which isn't a big problem) but I don't really want to have to. Also, when if I create a new user is there a way to give them root privileges? Any help would be greatly appreciated! Thanks in advance!
You REALLY don't want to do that, particularly not for
an account that uses a graphical interface... stick with
su, if you have a few root tasks you need to do often
(and they can't be automated) use sudo ...
Is there any chance we could just beg you not to want to do this in the first place? normal user accounts are there to stop dumb users doing dumb things. I'd say 75% of the time i'm infront of my Linux machines, I am a very dumb user. I'm and very glad i need to su to do heavy stuff. if there are a few key things you need to do, then try using sudo instead, to allow your otherwise normal user account to access a few extra programs.
Please stop reading now.
If you really want to create an additional account with root-like access, you should find you already have a group on your system called "Wheel". this group is the group that root also belongs to. add your user to this group and lo...
Originally posted by dumbsheep Great thanks! So what is sudo? I've never heard of it before. What's its purpose? Thanks.
It will let users specified in /etc/sudoers execute commands
specified in the same file with root's privileges (with or without
entering the users own password) ...
E.g. one could then do
as if one was root ... the big advantage of this approach is
that you're forced to make a conscious decision, and even
if you accidentally do something silly like
rm -rf *
while you're in / nothing much will happen (except for the
deletion of your home, of course, if you're not quick with a
Ctrl-C) ... that shows that rm is not a command you'd want
in sudoers ;)