Sudo: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
*https://stackoverflow.com/questions/14277116/suppress-log-entry-for-single-sudo-commands
*https://stackoverflow.com/questions/14277116/suppress-log-entry-for-single-sudo-commands


=FAQ=
 
==sudo: sorry, you must have a tty to run sudo==
 
= FAQ =
 
== sudo: sorry, you must have a tty to run sudo ==
 
  Defaults:zabbix !requiretty
  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

Revision as of 14:46, 1 October 2021

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