Assigning privileges to a running process
You can use the setsecattr command to modify the privileges of a running process.
- To update the effective privilege set associated with a process, run the
following command:
setsecattr –p eprivs=privileges pid
- Before adding any privilege to the effective privilege set of a process,
you should ensure that the privilege already exists in the maximum privilege
set. To modify maximum privilege set, run the following command:
setsecattr –p mprivs=privileges pid