I am using lshell in a linux environment.
I can create a session with this shell like
sudo -u dummy /usr/bin/lshell
but even if I add this line to the config file
forbidden : [';', '&', '|','`','>','<', '$(', '${', 'exit']
dummy is still able to exit the shell.
Is there any way to lock dummy into his lshell session, blocking commands such as "exit" and blocking ctrl+C using lshell?