Need to know how to prevent the ability to get to a root shell prompt when pressing ESC from a command like #dzdo vi /etc/hosts.
Question: Is it possible to configure dzdo to prevent escaping from vi to a root shell?
Answer: If you go into the 'Attribute' tab in command definition and unchecked the box next to "Allow nested command execution", it will prevent the ability to spawn a new root owned command line after typing in :!/bin/bash.