home / blog

Tag Archives: ssh linux sudoers requiretty

TTY sudo fun

requiretty is an option in /etc/sudoers which prevents sudo operations from non-TTY sesssions. # This will be disallowed ssh example.com echo “hello world” sudo: sorry, you must have a tty to run sudo # This will work ssh -t example.com … Continue reading

Posted in geek | Tagged | Leave a comment