How to Authorize a User to Perform Cold Migration of an Individual Zone
This procedure assumes the user is already assigned rights and authorizations to create, modify, and delete zone configurations. See Example 8-2.
Perform this procedure to delegate a Zone Migration administrator to cold migrate a specific zone.
Example 8-1 Authorizing a User to Migrate All Zones on a System
This example sets authorization for user jdoe
to perform cold migration of any zone on the source system.
global$ usermod -P +"Zone Migration" -A +solaris.zone.migrate jdoe Verify the auths and profiles: global$ auths jdoe solaris.admin.wusb.read,solaris.mail.mailq,solaris.network.autoconf.read,solaris.zone.migrate global$ profiles jdoe jdoe: Zone Migration Basic Solaris User All
Example 8-2 Authorizing a User to Configure Zones on a System
This example assigns the user jdoe
the required profiles and authorizations needed to create, modify, and delete any zone configuration, then verifies the assignments. This assignment is necessary for the user to perform a cold migration.
global$ usermod -P +"Zone Configuration" -A +solaris.zone.config jdoe global$ auths jdoe solaris.admin.wusb.read,solaris.mail.mailq,solaris.network.autoconf.read,solaris.zone.config global$ profiles jdoe jdoe: Zone Configuration Basic Solaris User All