get_rse_cmds
Use the get_rse_cmds command to return a Tcl list of restricted shell commands associated with the currently selected restricted shell environment.
The get_rse_cmds command does not query Active Directory for the restricted shell environment. If you change the restricted shell commands associated with the current restricted shell environment using ADEdit without saving the restricted shell environment to Active Directory, the commands you retrieve using get_rse_cmds won’t match those stored in Active Directory.
You can only use the get_rse_cmds command if the currently selected zone is a classic4 zone. The command does not work in other types of zones.
Zone Type
Classic only
Syntax
get_rse_cmds
Abbreviation
grsec
Options
This command takes no options.
Arguments
This command takes no arguments.
Return Value
This command returns a Tcl list of restricted shell commands associated with the currently selected restricted shell environment. Each restricted shell command in the list shows the command name followed by a slash (/) and the zone in which the command is defined.
Examples
get_rse_cmds
The command returns the list restricted commands:
rse1-id2/c123 rse1-id1/c123
Related Commands
Before you use this command, you must have a currently selected restricted shell environment stored in memory. The following commands enable you to view and select the restricted shell environments:
list_rs_envslists tostdoutthe restricted shell environments.new_rs_envcreates a new restricted shell environment and stores it in memory.save_rs_envsaves the restricted shell environment to Active Directory.select_rs_envretrieves a restricted shell environment from Active Directory and stores it in memory.
After you have a restricted shell environment stored in memory, you can use the following command to work with its fields:
set_rse_fieldsets a field value in the current restricted shell environment.