Sudo: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 2: Line 2:


*https://stackoverflow.com/questions/14277116/suppress-log-entry-for-single-sudo-commands
*https://stackoverflow.com/questions/14277116/suppress-log-entry-for-single-sudo-commands




Line 11: Line 12:
        
        


== sudo: foo : user NOT in sudoers ==
== sudo: foo : user NOT in sudoers ==
maybe you tried including a file like /etc/sudoers.d/foo.conf ?
 
maybe you tried including a file like /etc/sudoers.d/foo.conf ?
     
 
== enable file after adding to /etc/sudoers.d/ ==
sudoedit -v /etc/sudoers.d/myfile

Revision as of 12:29, 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/

sudoedit -v /etc/sudoers.d/myfile