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.
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 have read everything I can find about user and group management, but I'm still kind of unclear about a few things.
I've read many times how to use user and group add commands, but I haven't found any good explanations on how to really administer security. From the initial looks of it, linux security isn't very flexible.
I check all the execuables in the /usr/sbin directory (RH 8.0), and I see that almost every command has world execute permission - even the "useradd" command itself! This means I can add a user who can also add his own users - that seems like a major security issue.
I need to add some logins for some part time techs for some very basic monitoring, but the way it looks, they basically have free reign to do anything on the system except for just a few things.
I'm apparently missing something, as the linux group security system seems terribly unusable. in /etc/group, can you add one group to another group the same way you would add a user?
It looks like I can only assign 3 levels of permission to any directory - the user, group, and world. Well what if I have 2 different groups that need DIFFERENT levels of access to the same directory?? For example, company "owners" should have read/write to my finance directory, but account auditors should only have read access. So I have 5 owners and 15 auditors - how do I do this?
And finally - let's say I want to make all of my "sales reps" members of 5 groups. From the look of it, I have to manually add each salesperson's login to the /etc/group file for EACH group they are members of. That is just plain dumb. I should be able to hire "joebob", add him ONCE to the "salesreps" group and be done with it.
Are there any really good web references out that that clearly explain all this user/group security stuff? Anything I find explains all the command switches for "groupadd" and explains what each field in /etc/group represents and drops it at that. I need more depth.
I check all the execuables (..) This means I can add a user who can also add his own users
Tried to do that as non-privileged user?
I need to add some logins (..) they basically have free reign to do anything on the system except for just a few things.
If they need root privileges, yes.
If you need to you can always try using all sorts of "fascist logging" methods :-]
Have a look at ACL (soz, aint got the addy). In some ways it's still an underdevelopped cludge, but the parts that (seem to) work should (could would) give you access to "enhanced" group support like you need.