I have the following problem: I
I configured sudo rules with permission ofpermissions for everything except for a few commands to, remove, reboot, shutdown, block from sudo to shell, preventing a user from elevating the privileges with the sudo -isudo -i command or change the password for example. But if it passes
If someone runs the command sudo vimsudo vim and insideopens a shell from within the editor pass: shell, it manages to elevate the privilege to root.
Does anyone know of any way to block this command, from within the editor?