Restricted shells act the same as their non-restricted counterparts, except that the following are prohibited:
Changing directory (i.e., using cd).
Setting the PATH variable. rksh also prohibits setting ENV and SHELL.
/ for command names or pathnames.
Redirecting output (i.e., using
Shell scripts can still be run, since in that case the restricted shell will call ksh or sh to run the script.