delete_dz_command

Use the `delete_dz_command command to delete the currently selected privileged command from Active Directory and from memory. You cannot use other commands to manage privileged commands after deletion because there will be no currently selected command in memory.

Zone Type

Classic and hierarchical

Syntax

delete_dz_command

Abbreviation

dldzc

Options

This command takes no options.

Arguments

This command takes no arguments.

Return Value

This command returns nothing if it runs successfully.

Examples

delete_dz_command

This example deletes the currently selected command from Active Directory and from memory.

Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and select a UNIX command to work with:

  • get_dz_commands returns a Tcl list of UNIX commands in the current zone.
  • list_dz_commands lists to stdout the UNIX commands in the current zone.
  • new_dz_command creates a new UNIX command and stores it in memory.
  • select_dz_command retrieves a UNIX command from Active Directory and stores it in memory.

After you have a UNIX command stored in memory, you can use the following commands to work with that command:

  • get_dzc_field reads a field value from the currently selected command.
  • save_dz_command saves the selected command with its current settings to Active Directory.
  • set_dzc_field sets a field value in the currently selected command.