I have configured
sudo to run without a password, but when I try to
ssh 'sudo Foo", I still get
sudo: sorry, you must have a tty to run sudo.
Why does this happen and how can I work around it?
That's because there must be a
RedHat systems (RHEL, fedora...) have been known to have that in their default
RedHat has acknowledged the problem and it will be removed in future releases.
By default, SUDO is configured to require a TTY. That is, SUDO is expected to be run from a login shell. You can defeat this requirement by adding the
If you want to perform this globally, modify