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 Redhat Linux ES 3.0 on HP Hardware and have the following questions.If somebody answers these questions, I will be grateful.
1 I would like a create a user group called 'projectusers' and it contains around 10 users. This individual user(member of projectusers) can login into the machine but s/he should not create, modify files.How can I do that on group level? (ie) The whole group shouldn't create,modify the files when they login but they can su to some group id's.
2 I would like to create another group called 'webadmin' and all web related software will be installed under this account.When I create a group called 'webadmin', Is it necessary to create a userid called 'webadmin'? Because the above users(projectusers) should su to webadmin to work. I want to add some of the members of projectusers to webadmin group and it helps them to su to webadmin.How can I do that?
3 I want to restrict the projectusers and webadmin members to su to root.How can I do that?
I know , these questions are big but I am in a delegate situation to learn these stuffs.Any help will be highly appreciated.
1\..*This individual user(member of projectusers) can login into the machine but s/he should not create, modify files.
First of all, then please explain the purpose of having ro users. Knowing the purpose usually dictates a less generic answer. Not being able to write means no shell history, no email, no nothing. Anyway, the short answer lies in changing permissions on user and group-owned files and dirs and setting the user and group umask (unless you can use extended ACL's).
2 When I create a group called 'webadmin', Is it necessary to create a userid called 'webadmin'?
AFAIK that's the default policy for RHL to also create a user. If it doesn't, you should.
Because the above users(projectusers) should su to webadmin to work.
Yes. Groups can't "su" :-]
I want to add some of the members of projectusers to webadmin group and it helps them to su to webadmin.How can I do that?
On creating group specifying additional group user should be added to. If afterwards, using useradd or vigr.