save_rs_command

Use the save_rs_command command to save the currently selected restricted shell command that is stored in memory to Active Directory. You must save the restricted shell command for any changes you make using ADEdit to take effect in Active Directory. If you select another restricted shell command or end the ADEdit session before saving the currently selected restricted shell command, your changes will be lost.

Zone type

Classic only

Syntax

save_rs_command

Abbreviation

svrsc

Options

This command takes no options.

Arguments

This command takes no arguments.

Return value

This command returns nothing if it runs successfully.

Examples

save_rs_command

This example saves the currently selected RSC to Active Directory.

Related commands

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

  • get_rs_commands returns a Tcl list of restricted shell commands in the current zone.
  • list_rs_commands lists to stdout the restricted shell commands in the current zone.
  • new_rs_command creates a new restricted shell command and stores it in memory.
  • select_rs_command retrieves a restricted shell command from Active Directory and stores it in memory.

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

  • delete_rs_command deletes the selected command from Active Directory and from memory.
  • get_rsc_field reads a field value from the currently selected command.
  • set_rsc_field sets a field value in the currently selected command.