Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-07-2005, 01:04 PM
|
#1
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Rep:
|
Add a group to a group?
I have a server set up with strict security permissions. There are several groups with several different users within them. Potentially there could be dozens of groups with even more users.
I also have an 'admin' group. I want to give this group permission to modify any file that has read and write group permissions set no matter what group owns the file. The users in the 'admin' group change occasionally so I don't want to go through all of the groups and add/remove admin users whenever a new admin user comes or goes.
Is there a way to simply add the admin group to be part of another group? If not, is there an automated way to reach the desired result?
Thanks for the help.
|
|
|
06-07-2005, 08:24 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
You can't have a group be a member of another group. Users only.
As for an automated way to do this -- sed or perl or grep/awk or whatever. There are many ways to punch that monkey.
|
|
|
06-08-2005, 03:58 AM
|
#3
|
Member
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136
Rep:
|
it wuld be easier writing down a script . Write down a script which removes all entries of the previous person name you supply and adds the new one
|
|
|
All times are GMT -5. The time now is 05:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|