Sudo

From DWIKI
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Links

FAQ

sudo: sorry, you must have a tty to run sudo

Defaults:zabbix !requiretty
      

sudo: foo : user NOT in sudoers

maybe you tried including a file like /etc/sudoers.d/foo.conf ?


enable file after adding to /etc/sudoers.d/

visudo -v /etc/sudoers.d/myfile

no password

%sudo  ALL=(ALL) NOPASSWD: ALL