Use the projmod command with the –a and –K options to add values to a project attribute. If the attribute does not exist, it is created.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
A task entering the project has only the system value for the attribute.
$ projmod -a -K task.max-lwps myproject
The value consists of a privilege level, a threshold value, and an action associated with reaching the threshold.
$ projmod -a -K "task.max-lwps=(priv,100,deny)" myproject
Resource controls can have multiple values, separated by commas.
$ projmod -a -K "task.max-lwps=(priv,1000,signal=KILL)" myproject
The task.max-lwps entry now reads: