Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Use the usermod command to delete all the privileges for a user.
# usermod -K defaultpriv=basic username |
For more information about the usermod command, see the usermod(1M) man page.
The following command deletes the privileges for the ldm_mig user:
# usermod -K defaultpriv=basic ldm_mig |