Setting up the restricted shell environment

The following ADEdit commands are used to set up and manage the restricted shell environment prior to working with any restricted shell commands.

Command What it does

clear_rs_env_from_role

Removes the restricted shell environment from the currently selected role that is stored in memory.

delete_rs_env

Deletes the currently selected restricted environment from Active Directory and also from memory.

get_role_rs_env

Gets the restricted shell environment from the currently selected role that is stored in memory.

get_rs_envs

Gets the list of restricted environments that are defined within the currently selected zone.

get_rse_cmds

Gets a Tcl list of restricted shell commands associated with the currently selected restricted shell environment.

get_rse_field

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

list_rs_envs

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

new_rs_env

Creates a new restricted shell environment for the current zone, stores it in memory, and sets it to be the currently selected restricted shell environment.

save_rs_env

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

select_rs_env

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

set_rs_env_for_role

Assigns a restricted shell environment to the currently selected role that is stored in memory.

set_rse_field

Sets the value for a specified field in the currently selected restricted shell environment stored in memory.