Difference between revisions of "Sudo"

From DWIKI
m
m
Line 16: Line 16:
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/ ==
== enable file after adding to /etc/sudoers.d/ ==
  sudoedit -v /etc/sudoers.d/myfile
 
  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