Sudo: Difference between revisions
From DWIKI
mNo edit summary |
m (→FAQ) |
||
Line 21: | Line 21: | ||
visudo -v /etc/sudoers.d/myfile | visudo -v /etc/sudoers.d/myfile | ||
== no password == | |||
%sudo ALL=(ALL) NOPASSWD: ALL |
Revision as of 10:40, 14 May 2022
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