![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| max size of a group in /etc/group | antalexi | AIX | 4 | 05-11-2008 06:01 AM |
| Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl | iBot | UNIX and Linux RSS News | 0 | 08-17-2007 01:30 PM |
| entry in /etc/group too long - problem using sudo with %group | poli | SUN Solaris | 4 | 12-21-2004 05:50 AM |
| Group changes | Liamo | UNIX for Advanced & Expert Users | 2 | 05-28-2004 05:55 AM |
| NIS group vs local group | vjsony | UNIX for Dummies Questions & Answers | 3 | 05-19-2003 06:54 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All,
How can I add few existing groups into a group? eg. Currently, I have - projgrp1 for proj1 with members proj1usr1, proj1usr2, proj1usr3..proj1usr10 - projgrp2 for proj2 with members proj2usr1, proj2usr2 - projgrp3 for proj3 wiht members proj3usr1, proj3usr3 Now, I would like to give access for all users in projgrp1 and projgrp2 to folderA. I am thinking of adding projgrp1 and projgrp2 to a mainprojgrp and set folderA's group permission to the mainprojgrp. But I don't know how to do this. Or is there any alternative way? Please advise. Thanks & Regards, tifmils |
| Forum Sponsor | ||
|
|
|
|||
|
I'm pretty sure you can't have groups be members of a group. You'd have to create the mainprjgrp and make sure the members of the two sub groups are also members of the main group. Then assign perms to the main group.
What OS are you on? There may be specific OS based things that can be done. In other words, I don't know every UNIX. If you're on SCO and it lets you have groups be members of a group then someone who's smart on SCO could provide a better answer. Carl |
|
|||
|
Hi Carl, Thanks for your suggestion. I'm using Solaris 9.
Actually, I have more than 20 of subgroup for different projects and about 6 - 10 users in each subgroup. 5 subgroups will be excluded from accessing the folder. Still, I need to add many users to main group. I'm trying to avoid this. Also, more project will come in near future. Is there any other way to block some groups from accessing the folder? I know there is a command 'setfacl', but this only control the access on file. -> tifmils |