Difference between revisions of "Sudo"

From DWIKI
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽
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

Latest revision as of 13: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