This example substitutes a different value for the attribute task.max-lwps in the project myproject. 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.
$ projmod -s -K "task.max-lwps=(priv,100,none),(priv,120,deny)" myproject
The result would be:
task.max-lwps=(priv,100,none),(priv,120,deny)