[Linux] sudo: sorry, you must have a tty to run sudo

  1. edit /etc/sudoers
  2. find ‘requiretty’
  3. add username like this
    Defaults:webuser requiretty
This entry was posted in Linux. Bookmark the permalink.