On 8/10/2021 8:19 AM, Bob Bernstein wrote:
My copy (buster amd64) of lines 23-24 of /etc/sudoers looks like this:
I would suggest to use the directory '/etc/sudoers.d' instead of modifying the 'sudoers' file.
23 # Allow members of group sudo to execute any comm$ 24 % sudo ALL=(ALL:ALL) ALL Is that '%' a comment char? The line numbers shown were provided by
No, '%' tells that 'sudo' is a group.
nano. I know, I know, please keep reading. Full disclosure: In a typical Bob fit of impulsivity I, yes, edited this file using 'sudo nsno /etc/sudoers'. How much damage have I done, what are the penalties for such behaviour, and will I get time off for good behaviour?
Fulling around is the best way to learn if you can take the time to fix the issue(s) that your impulsivity has caused!!! :)
Alright, enough fooling around. I am a great fan of Dr. John E. Davis's (the author of jed) viewer app 'most.' I cannot seem to persuade mc to honor my env var VIEWER which asks for 'most.' I am new to using sudo. All suggestions bearing even the slightest hint of civility will be thoughtfully considered.
Space separating the '%' and the group name ('sudo') does not strike me as a good idea. -- John Doe