Re: useradd and the default group

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

 



On Tue, Apr 14, 2009 at 14:42:32 +0000,
  "Carl D. Roth" <roth@xxxxxxxxx> wrote:
> On Tue, 14 Apr 2009 04:29:41 +1000, Cameron Simpson wrote:
> 
> So from a UNIX programming perspective, then, a test for group membership 
> is then:
> 
>   1. is the user listed in the group membership list
> 
>   OR
> 
>   2. is the user's primary group equal to the target gid

That's not how it is done. Processes have a group list associated with them.
That list plus the gid are the lists a process is in.

The main affect is that group membership is determined when a process starts
unless something unusual is done.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux