[PLUG] Permissions: multiple groups

Cooper Stevenson cooper at cooper.stevenson.name
Wed Aug 6 15:25:02 UTC 2003


On Tue, 2003-08-05 at 15:27, Don Buchholz wrote:
> This will not work!  At least not for RedHat 8, and every other Unix
> variant I've worked with ... granted, that's only been a dozen or so ...

What Don says is true. My memory serves me incorrectly. The only way,
then, is to create a new group that contains the users from both the
business and the hr groups.


-Cooper

> 
>  (1)  /etc/group entries must have 4 fields:
>          groupname:gpasswd:gid:[user1[,user2]]
> 
>  (2)  It only accepts lists of users, not groupnames in the last field.
> 
> 
> Use grpck(8) to verify your changes!
> 
> - Don
> 
> 
> cooper at cooper.stevenson.name wrote:
> 
> >Scott,
> >
> >In /etc/group:
> >
> >business_hr: business, hr
> >
> >Your new group is 'business_hr'
> >
> >
> >-Cooper
> >  
> >
> >>Is it possible in Linux to assign more than one group to a particular
> >>directory? For example, suppose group "business" and group "hr" need
> >>write access to a directory. Is it possible to add a group as a member
> >>of another group?
> >>
> >>-Scott
> >>
> >>__________________________________
> >>Do you Yahoo!?
> >>Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >>http://sitebuilder.yahoo.com
> >>
> >>_______________________________________________
> >>PLUG mailing list
> >>PLUG at lists.pdxlinux.org
> >>http://lists.pdxlinux.org/mailman/listinfo/plug
> >>    
> >>
> >
> >
> >  
> >
> 
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
-- 
--------------------------------------------------------------
| Cooper Stevenson        | Em: cooper at cooper.stevenson.name |
| Open Source Consultant  | Ph: 541.924.9434                 |
--------------------------------------------------------------






More information about the PLUG mailing list