Description: root-shell
is a POSIX shell script to prevent nested root shells, which means it will not allow you to go for example sudo -i
and again sudo -i
, etc.
Usage: I recommend aliasing it for example as alias sup=/path/to/root-shell
in Bash, or similarly in other shells.