Difference between revisions of "Sudo"
Latest revision as of 11:49, 14 May 2022
- How to edit the sudoers file
sudo: sorry, you must have a tty to run sudo
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
%sudo ALL=(ALL) NOPASSWD: ALL