TTY sudo fun

requiretty is an option in /etc/sudoers which prevents sudo operations from non-TTY sesssions. # This will be disallowed ssh echo “hello world” sudo: sorry, you must have a tty to run sudo # This will work ssh -t echo “hello world” hello world If however you’re using SSH via a wrapper you cannot… Continue reading TTY sudo fun