Linux
You are allowing your user account to run the shutdown command without being asked. Everything below happens on the target computer itself — not on your iPhone.
- Open a terminal. Usually via your app overview, searching for “Terminal”.
- Type sudo visudo and press Enter. It asks for your password — nothing appears on screen while you type, which is normal. Press Enter.
- Use the arrow keys to move to the very bottom and add this line. Replace frank with your username:
frank ALL=(ALL) NOPASSWD: /usr/bin/shutdown, /usr/bin/systemctl
- Save and close. If the bottom line says “^O Write Out”, you are in nano: Ctrl+O, Enter, then Ctrl+X. If the screen looks bare, it is vi: press Esc, type :wq, press Enter.
- In MagicPing, set this as the computer’s command:
sudo shutdown -h now



