Commands for Handling Privileges
The following table lists the commands that
are available to handle privileges.
Table 8-3 Commands for Handling Privileges
| | |
| ppriv -eD failed-operation
|
|
List the privileges on the system
| ppriv -l
|
|
List a privilege and its description
| ppriv -lv priv
|
|
List extended privilege policy on a UID, process, or port
| ppriv -lv extended-policy
|
|
Examine process privileges
| ppriv -v pid
|
|
Add extended privilege policy to a UID, process, or port
| ppriv -r rule
|
|
|
ppriv -s spec
|
|
Remove an extended privilege policy rule
| ppriv -X rule
|
|
Assign privileges to a rights profile
| profiles -p profile-name
|
|
Assign privileges to a new role
| roleadd -K defaultpriv=
|
|
Add privileges to an existing role
| rolemod -K defaultpriv+=
|
|
Assign privileges to a new user
| useradd -K defaultpriv=
|
|
Add privileges to an existing user
| usermod -K defaultpriv+=
|
|
Add device policy to a device
| add_drv -p policy driver
|
|
Set device policy
| devfsadm
|
|
View device policy
| getdevpolicy
|
|
Update device policy on open devices
| update_drv -p policy driver
|
|
|