HP Process Resource Manager User's Guide

Administering PRM
Displaying netgroup expansions
Chapter 9 177
Using the prmlist command, we get all the group and alternate group
assignments (a portion of the output has been omitted for brevity):
# prmlist
PRM User Initial Group Alternate Group(s)
------------------------------------------------------------------
guest OTHERS
user0 even_PRM_group
user1 odd_PRM_group
user2 even_PRM_group prime_PRM_group
user3 odd_PRM_group prime_PRM_group
user4 even_PRM_group
user5 Five
root PRM_SYS
For the users who are members of multiple netgroups, their initial and
alternate groups are cumulative. For example, user2 is in the even and
prime netgroups, with initial groups even_PRM_group and
prime_PRM_group, respectively. In this situation, the netgroup names
are sorted (based on the ASCII dictionary), and the netgroup at the top of
the sort list is used to determine user2’s initial PRM group. Thus,
because even_PRM_group comes before prime_PRM_group,
even_PRM_group is used as the initial group. All other PRM groups
specified in the netgroups’ user records become alternate groups.
Here the -u option limits the output to the prime netgroup:
# prmlist -u +prime
PRM User Initial Group Alternate Group(s)
------------------------------------------------------------------
user5 Five
user3 odd_PRM_group prime_PRM_group
user2 even_PRM_group prime_PRM_group
Recall that user5 is in multiple netgroups. Based on the cumulative
effect of netgroup membership for user2 and user3, one would expect
user5 to show an initial group and at least one alternate group.
However, user5 has an explicit user record, which takes precedence over
any netgroup’s user records.