Logical Domains 1.3 Administration Guide

ProcedureDelete All Privileges for a Local User Account

  1. 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.

  2. 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