Detect if you are running as root, restart self with sudo if needed or setup uid zero when running with the SUID flag set.
Detect if you are running as root, restart self with sudo or any other wrapper if needed or setup uid zero when running with the SUID flag set.
Detect if you are running as root, restart self with sudo if needed or setup uid zero when running with the SUID flag set.
Detect if you are running as root, restart self with sudo or any other wrapper if needed or setup uid zero when running with the SUID flag set.