I want to stop standard users from being able to carry out a shell escape from vi, which gives them a root shell to do as they please. Please see the example below:
computer: user$ whoami
user
computer: user$ sudo vi
Password:
(In VIM Editor, call ':bash')
sh-3.2# whoami
root
sh-3.2#
Best way to do this?