nerdexam
Oracle

1Z0-821 · Question #36

A user account must be a member of a primary group, and may also be a member of one or more secondary groups. What is the maximum total number of groups that one user can concurrently belong to?

The correct answer is B. 16. Each user belongs to a group that is referred to as the user's primary group. The GID number, located in the user's account entry within the /etc/passwd file, specifies the user's Each user can also belong to up to 15 additional groups, known as secondary groups. In the…

Administering User Accounts

Question

A user account must be a member of a primary group, and may also be a member of one or more secondary groups. What is the maximum total number of groups that one user can concurrently belong to?

Options

  • A15
  • B16
  • C17
  • D63
  • E64
  • F65
  • GThe number of groups one user can concurrently belong to is unlimited in Solaris 11.

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    85% (39)
  • D
    9% (4)
  • E
    4% (2)

Explanation

Each user belongs to a group that is referred to as the user's primary group. The GID number, located in the user's account entry within the /etc/passwd file, specifies the user's Each user can also belong to up to 15 additional groups, known as secondary groups. In the /etc/group file, you can add users to group entries, thus establishing the user's secondary group Note (4 PSARC/2009/542): his project proposes changing the maximum value for NGROUPS_MAX from 32 to 1024 by changing the definition of NGROUPS_UMAX from 32 to 1024. The use for a larger number of groups is described in CR 4088757, particular in the case of Samba servers and ADS clients; the Samba servers map every SID to a Unix group. Users with more than 32 groups SIDs are common. We've seen reports varying from "64 is enough", "128 is absolutely enough" and "we've users with more 190 group SIDS). NGROUPS_MAX as defined by different Unix versions are as follows Linux Kernel >= 2.6.3 65536 Linux Kernel < 2.6.3 32 Tru64 / OSF/1 32 IBM AIX 5.3 ... 6.1 128 OpenBSD, NetBSD, FreeBSD, Darwin (Mac OS X) 16 Sun Solaris 7, 8, 9, 10 16 (can vary from 0-32) IRIX 16 (can vary from 0-32) Plan 9 from Bell Labs 32 Minix 3 0 (Minix-vmd: 16)

Topics

#user groups#group membership#GID#group limits

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice