This example shows how to use the projadd command to add a project entry and the projmod command to alter that entry.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
$ projects -l
system
projid : 0
comment: ""
users : (none)
groups : (none)
attribs:
user.root
projid : 1
comment: ""
users : (none)
groups : (none)
attribs:
noproject
projid : 2
comment: ""
users : (none)
groups : (none)
attribs:
default
projid : 3
comment: ""
users : (none)
groups : (none)
attribs:
group.staff
projid : 10
comment: ""
users : (none)
groups : (none)
attribs:
$ projadd -U mark -p 4113 booksite
$ projects -l
system
projid : 0
comment: ""
users : (none)
groups : (none)
attribs:
…
booksite
projid : 4113
comment: ""
users : mark
groups : (none)
attribs:
$ projmod -c 'Book Auction Project' booksite
$ projects -l
system
projid : 0
comment: ""
users : (none)
groups : (none)
attribs:
…
booksite
projid : 4113
comment: "Book Auction Project"
users : mark
groups : (none)
attribs:
See Also
To bind projects, tasks, and processes to a pool, see Setting Pool Attributes and Binding to a Pool.