delete_rs_command command to delete the currently selected restricted shell command from Active Directory and from memory. After you run this command, you cannot run subsequent ADEdit commands for restricted shell commands because there will be no currently selected restricted shell command available in memory.
This command takes no options.
This command takes no arguments.
This command returns nothing if it runs successfully.
This example deletes the currently selected restricted shell 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 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
stdoutthe 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: