3 ms·
The command back when I did this was sudoedit but I didn't know better, although I don't think it did any checking of the file for validity, just made sure that
by dhosek 4y ago
The command back when I did this was sudoedit but I didn't know better, although I don't think it did any checking of the file for validity, just made sure that the correct permissions were in place when I was done. Now, the default sudoers file on MacOS has a comment saying to edit with visudo. But there are enough footguns possible with sudo that any friction to using it is a good thing.