The restricted shell (rsh) is used to set up environments that are more restricted than the standard shell.
bash provides rbash as a restricted shell implementation, but many others exist.
https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html