Working in a Name Service Domain

As you work with the Solaris Management Console (SMC), you may want to create your own toolbox and include in it the tools most useful to you.

Note: Before you can work in a name service domain, you must create a toolbox that contains the tools for that domain. Steps 1 and 2 are required only if you are adding a tool to manage a name service domain.

To Create a Toolbox Using the Solaris Management Console Editor

This procedure explains how to create a toolbox using the SMC Editor. You can also use the smcconf command to create a toolbox (see smcconf.1m).
  1. Verify that your computer is configured to run a name service.
  2. Run the smattrpop command from the command line to populate the security attribute databases in the name service.
  3. Verify that two icons -- one large (32x32 pixels), and one small (16x16 pixels) -- are available. You can create your own icons, or use icons supplied with the SMC. The icons supplied with the SMC are stored in /var/sadm/smc/toolboxes/this_computer and /var/sadm/smc/toolboxes/smc.
  4. Create a directory with the same name as the toolbox you are about to create. Place the directory under the /var/sadm/smc/toolboxes directory.
  5. As root, start the SMC Editor:

  6. /usr/sadm/bin/smc edit&

  7. Click Toolbox->New.

  8. The SMC Editor wizard opens. Follow the instructions in the wizard to create a toolbox.

  9. Save the toolbox by selecting Save As from the Toolbox menu. Save the toolbox in the directory you created in step 4 above, and with the same name as the directory.

To Add a Tool to a Toolbox

Once you create a toolbox, you can add a tool (Users, for example) that will appear whenever you open the toolbox.

From the SMC Editor, open the toolbox to which you want to add the tool (Toolbox->Open Toolbox). Once the toolbox opens, select the toolbox name and click Action->Add Tool. The Add Tool wizard opens. Follow the instructions in the wizard to add a tool to a toolbox.

To Change to a Different Toolbox

You can change toolboxes to display a different set of tools in the SMC.
  1. To select a toolbox for use, start the SMC:

  2. /usr/sadm/bin/smc &

  3. Click Console->Open Toolbox.
    The Open Toolbox dialog box opens. Use the context-sensitive help to find and open the toolbox.
For more detailed information on creating a toolbox, see "About the SMC Editor" in the Help Contents.