Creating a Toolbox
Toolboxes are located in the /var/sadm/smc/toolboxes directory.
If you want to create a new toolbox, first create a directory with the mkdir command. Then use the SMC Toolbox Editor to create the toolbox.
Type cd /var/sadm/smc/toolboxes and press Return.
By default the /var/sadm/smc/toolboxes directory contains two subdirectories: smc and this_computer.
Type mkdir toolboxname and press Return.
The following example creates a directory named NewToolbox.
Copy or move toolbox icons into the new directory.
The GIF icons are used to represent the toolbox in the SMC Console. The small icon is 16 x 16 pixels, and the large icon is 32 x 32 pixels. You can copy the icons from /var/sadm/smc/toolboxes/this_computer.
mopoke% su Password: # cd /var/sadm/smc/toolboxes # mkdir NewToolbox # cp /var/sadm/smc/toolboxes/this_computer /var/sadm/smc/toolboxes/NewToolbox #
Type smc edit& to start the toolbox editor (if necessary).
From the Toolbox menu, choose New.
The New Toolbox wizard is displayed, as shown in Figure 48.
Figure 48 New Toolbox WizardStep 1
Type a toolbox name in the Full Name field.
The name you enter is displayed in the Navigation pane tree and in the Console header if you open the toolbox from the SMC Console.
Type a description in the Description field and click on the Next button.
Use the description to explain the use of the toolbox and its contents. The description is displayed in the Open Toolbox dialog when you select the toolbox for opening from the console. The description is also displayed in the Information pane of the Console when the toolbox is selected in the Navigation pane.
The icon window is displayed, as shown in Figure 49.
Figure 49 New Toolbox WizardStep 2
Enter the paths to a large and small icon and click on the Next button. Alternatively, you can click on the Browse button to navigate to the appropriate folder and select the GIF images.
These icons are used to represent the toolbox in the SMC Console window. The small icon is displayed in the Navigation pane next to the name of the toolbox, and the large icon is displayed in the Information pane, as shown in Figure 50.
Figure 50 Large and Small Toolbox Icons
The Management Scope step is displayed, as shown in Figure 51.
Figure 51 New Toolbox WizardStep 3
Choose a management scopeldap, dns, nisplus, nis, or filefrom the Management Scope menu. If you choose file, skip the next two steps.
Type a server name in the Server text field.
Type a domain name in the Domain text field.
Click on the Finish button.
From the Toolbox menu choose Save As.
Navigate to the /var/sadm/smc/toolboxes directory.
Type the name for this toolbox in the Filename text field and then click on Save.
You do not need to add the .tbx suffix. The wizard automatically adds the suffix to the file name you specify. If you do add a .tbx suffix to the file name, it is ignored.
The changes to the toolbox are saved and the wizard is closed.