RE: /etc/group Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Steven J. Yellin [mailto:yellin@xxxxxxxxxxxxxxxxx]
> Sent: Wednesday, April 21, 2004 10:27 AM
> To: Discussion of Red Hat Linux 9 (Shrike)
> Subject: Re: /etc/group Question
> 
> 
> On Wed, 21 Apr 2004, Ow Mun Heng wrote:
> 
> > Hi Guys,
> > 
> > 	Simple question.
> > 
> > in the /etc/group file, have something like this
> > 
> > Group1:userA,userB,userC
> > Group2:userD
> > 
> > If Some Group2 is a subset of Group1, can I put this in
> > 
> > Group2:userD,Group1
> > 
> > I'm just looking for a shortcut so that I don't have to 
> > type (okay copy/paste) the users from Group1 to Group2.
> > 
>     I think you should copy/paste.  I see nothing wrong with 
> having a user
> with the same name as a group.  So any reasonable software 
> that makes use
> of /etc/group can be expected to interpret
> 
> Group1:userA,userB,userC
> Group2:userD,Group1
> 
> to mean that the users named "userD" and "Group1" are in the 
> group named
> "Group2", and are not necessarily in the group named "Group1" (unless
> /etc/passwd specifies that they are), while the users named "userA",
> "userB", and "userC" are in the group named "Group1", and are not
> necessarily in the group named "Group2".

I understand the default behaviour, however, so it's definite that without
copy/paste the system won't be able to recognise that everyone in Group1 
are also members of Group2. 

Okay.. I've already done the copy/paste but just asking if it's possible.

Thanks.
 


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux