This requires the use of a restricted bash shell. It is identical to a bash shell except the following is not allowed:
Changing directories with
Setting or changing environment variables
Redirecting output with >, >|, <>, >&, &>, and >>
Turning off or bypassing restricted mode in any way<...>
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.