clear_rs_env_from_role command to remove the restricted shell environment from the currently selected role that is stored in memory.
clear_rs_env_from_role command does not modify the information stored in Active Directory for the role. If you run this command using ADEdit without saving the role to Active Directory, the change will have no effect on the restricted shell environment stored in Active Directory.
You can only use the
clear_rs_env_from_role command if the currently selected zone is a classic4 zone. The command does not work in other types of zones.
This command takes no options.
This command takes no arguments.
This command returns nothing if it runs successfully.
This example removes the restricted shell environment from the current role.
The following commands perform actions related to this command:
- get_rs_envs returns a Tcl list of restricted shell environments.
- list_rs_envs lists to
stdoutthe restricted shell environments.
- new_rs_env creates a new restricted shell environment and stores it in memory.
- select_rs_env retrieves a restricted shell environment from Active Directory and stores it in memory.
- set_rs_env_for_role assigns a restricted shell environment to the current role.
After you have a restricted shell environment stored in memory, you can use the following commands to work with that: restricted shell environment: