How many primary and secondary group we can have per user in Solaris

Posted on 2008-11-13
Last Modified: 2013-12-27
How many primary and secondary group we can have per user in Solaris ? Is there any limit ?
Question by:beer9
    LVL 4

    Assisted Solution

    a user can be a part of
    one primary group ( only one allowed)
    and upto 15 secondary groups.

    LVL 22

    Accepted Solution

    Actually, Solaris can be configured to allow up to 32 groups. If you want to use 32 groups, you need to add the line
    "set ngroups_max = 32" in /etc/system.

    However, there is a reason that the default is 16. The AUTH_SYS authentication system used by default in NFS has a hard limit of 16 groups that cannot be changed. Thus, if a user is a member of more than 16 groups, and one of the groups that would allow access to a file on the NFS server happens to be one of the ones not listed because of the 16 group limit, you might not be able to access that file.

    So, if you are not using NFS or are using an auth method other than AUTH_SYS, or never restrict or allow access to NFS files on the basis of groups, then you can go to 32.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Title # Comments Views Activity
    How to improve IO of Solaris machine 15 58
    Veritas Asymmetric Cluster 2 303
    Streamline a For loop in Ksh 3 28
    Unix Question 19 35
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now