visudo but don't open #include files?
Greg Gerke <[email protected]> Tue, 4 Oct 2022 13:34:44 +0000 <DM6PR14MB2441DFE68BB45738A36404CC8D5A9@DM6PR14MB2441.namprd14.prod.outlook.com>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
When I use visudo and go to update /etc/sudoers it always goes and opens each #include file that I've got. Is there a way to bypass this action? I've got some servers that have upwards of a dozen #include files and there's none of them I'd need to update and just end up doing a :q a dozen times. I've been trying to use visudo just to make sure I don't fat finger something in my haste to get in and get out but this action makes me think I should just be using a straight "vi /etc/sudoers" and double check before exiting... --- No good deed goes unpunished. http://www.paulgraham.com/makersschedule.html<http://www.paulgraham.com/makersschedule.html> https://world.hey.com/jorge/aging-programmer-d448bdec<https://world.hey.com/jorge/aging-programmer-d448bdec> ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users