1. Gatekeeper should check if passwordless sudo is available & use it automatically at startup if not running as root. 2. If running under graphical environment, graphical password prompt should be displayed. 4. Otherwise it should restart itself through `sudo` - potentially prompting for password on the terminal.
sudo- potentially prompting for password on the terminal.