HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 139
Specifying PRM users
You can add, modify, and remove users’ PRM group assignments as
discussed in the following sections:
Adding/modifying a user’s group assignment” on page 142
“Removing a user’s group assignment” on page 144
PRM integrates with NIS by allowing you to specify netgroups in user
records. For more information on NIS, see the ypfiles(4) manpage.
NOTE The processes of any nonroot user who does not have a user record are
placed in the default user group OTHERS (PRMID 1). If this placement is
acceptable for a given user, do not create a user record for that user
name. If there is no user record for root, the record is automatically
created, placing root processes in the group PRM_SYS (PRMID 0).
User record syntax
This section explains the syntax of user records.
User records specify PRM users and the groups they can access.
Use the following syntax when specifying a user record:
USER::::INITIALGROUP[,ALTERNATEGROUP[, ...]]
where
USER
Is one of the following:
A user’s login name
This name must correspond to the user’s name in
password files that can be accessed by the C
function getpwnam, such as /etc/passwd.
If you assign processes that would typically run in
PRM_SYS to another group, be sure that group has
sufficient resources. (For example, if you are using
memory records, be sure the group gets enough