solaris 11 cheat sheet user administration and bootenvironments

Revert to root as normal user account:
# rolemod –K type=normal root

Configure root as a role (default):
# usermod –K type=role root

Add a new user and delegate him the System Adminstrator profile:
# useradd -d /export/home/joerg -P "System Administrator" joerg

Create a boot environment:
# beadm create solaris-05032012

Activate a boot environment:
# beadm activate solaris-05032012

Delete a boot environment:
# beadm destroy solaris-05032012

Show boot environments from SPARC boot PROM:
ok boot -L

Boot into a boot environment from SPARC boot PROM:
ok boot -Z rpool/ROOT/solaris-05032012

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.