System Administration Guide: Basic Administration

How to Create a Toolbox for a Specific Environment

Applications for administering the Solaris operating environment are called tools, and those tools are stored in collections referred to as toolboxes. A toolbox can be located on a local server, where the console is located, or on a remote machine.

Use the Toolbox Editor to add a new toolbox, to add tools to an existing toolbox, or to change the scope of a toolbox. For example, to change the domain from local files to a name service.


Note –

You can start the Toolbox Editor as a normal user. However, if you plan to make changes and save them to the default console toolbox (/var/sadm/smc/toolboxes), you must start the Toolbox Editor as root.


  1. Start the Toolbox Editor.


    # /usr/sadm/bin/smc edit &
    
  2. Select Open from the Toolbox menu.

  3. Select the This Computer icon in the Toolboxes: window.

  4. Click Open.

    The This Computer toolbox opens in the window.

  5. Select the This Computer icon again in the Navigation pane.

  6. Select Add Folder from the Action menu.

  7. Use the Folder wizard to add a new toolbox for your name service environment.

    1. Name and Description – Provide a name in the Full Name window. Click Next.

      For example, “NIS tools” for the NIS environment.

    2. Provide a description in the Description window. Click Next.

      For example, “tools for NIS environment.”

    3. Icons – Use the default value for the Icons. Click Next.

    4. Management Scope – Select Override.

    5. Select your name service under the Management Scope pull-down menu.

    6. Add the name service master name in the Server: field, if necessary.

    7. Add the domain managed by the server in the Domain: field.

    8. Click Finish.

      The new toolbox appears in the left Navigation pane.

  8. Select the new toolbox icon.

  9. Select Save As from the Toolbox menu.

  10. Enter the toolbox path name in the Local Toolbox Filename: dialog box. Use the .tbx suffix.


    /var/sadm/smc/toolboxes/this_computer/toolbox-name.tbx
  11. Click Save.

    The new toolbox appears in the Navigation pane in the console window.

Where to Go From Here

After you have created a name service toolbox, you can put a name service tool into it. For more information, see How to Add a Tool to a Toolbox.