Security with regards to wheel group, and sudo users.
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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.
That depends how you see a "vulnerability". Yes it will make your system less secure, by definition, because you are allowing more people (i.e. you) to do privileged stuff that they previously weren't allowed to. But providing you keep your password secure (since it is now effectively equivalent to the root password) it shouldn't be too much to worry about; this is more or less how Ubuntu is shipped by default.
The use of sudo is definitely the way to make your account priviledged, but if you're worried about security, using the wheel group may be overkill. The most secure way to use sudo is to allow priviledges to specific commands. For example, if you only want root priviledges to shut down, grant sudo access to the shutdown command only. That way if your account were to get compromised, the attacker would only have root access to the shutdown command instead of all commands.
Thank you very much. I appreciate all of your input!! I'll have to agree with both of you that the wheel group is probably a bit much, I'll look into allowing only certain commands. Also I'll have to look into what I did, because by adding my personal account to the wheel group, and un-commenting that line in 'visudo' I was still not able to execute many root type commands. I tried looking at fdisk -l and ifconfig, and got a bash error on both attempts. Any thoughts on something I may be missing? I did log out, and close the ssh connection, and log back in to try again to no avail. I sincerely appreciate your support! Thank you again!
If you post the bash errors, we can be a lot more helpful. But off the top of my head, check your PATH environment variable. Some common directories for admin functions (like /sbin) might not be there.