Using restricted commands

The following ADEdit commands are used to set up and manage the restricted shell restricted shell commands.

Command What it does

delete_rs_command

Deletes the currently selected restricted shell command from Active Directory and from memory.

get_role_rs_commands

Returns a Tcl list of restricted shell commands associated with the currently selected role.

get_rs_commands

Checks Active Directory and returns a Tcl list of restricted shell commands defined for the currently selected zone.

get_rsc_field

Gets the value for a specified field from the currently selected restricted shell command that is stored in memory.

list_rs_commands

Prints a list of restricted shell commands defined for the currently selected zone to stdout.

new_rs_command

Creates a new restricted shell command under the currently selected restricted shell environment, stores it in memory, and sets it to be the currently selected restricted shell command.

save_rs_command

Saves the currently selected restricted shell command that is stored in memory to Active Directory.

select_rs_command

Retrieves a restricted shell command in the currently selected zone from Active Directory, stores it in memory, and sets it to be the currently selected restricted shell command for other ADEdit commands.

set_rsc_field

Sets the value for a specified field for the currently selected restricted shell command that is stored in memory.