Run sudo Command over SSH. Single line.

When running an SSH command that uses sudo, something like

ssh admin@192.168.1.20 "sudo apt -y update && sudo apt -y upgrade"

You may receive the following error.

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required

To work around this, you can use the -t option. -q is not needed, but makes thing quieter.

ssh -qt admin@192.168.1.20 "sudo apt -y update && sudo apt -y upgrade "

The sudo password will also be hidden.

https://unix.stackexchange.com/questions/134155/how-do-you-keep-the-password-hidden-when-invoked-during-the-su-command

https://stackoverflow.com/questions/233217/how-to-pass-the-password-to-su-sudo-ssh-without-overriding-the-tty

How to Enable/Disable Driver Signature Enforcement in Windows 7

Open up a command prompt with administrator privilages, either right click and Run as Administrator, or hit the Windows Key type in cmd and then hit CTRL+Shift+Enter.

Sometime you may need to turn it on so you can install a modded driver or something, other times it needs to be turned off so you can install EasyAntiCheat…

Turn On

bcdedit -set TESTSIGNING ON
bcdedit -set NOINTEGRITYCHECKS ON

Turn Off

bcdedit -set TESTSIGNING OFF
bcdedit -set NOINTEGRITYCHECKS OFF

Reboot for the changes to take effect