Bugzilla – Bug 134
Add switch to dump configuration to output
Last modified: 2004-11-24 18:48:51 MST
When trying to edit the configuration of sudo it's nice to know what has already been defined, most noteably the "Default <file in var>" lines created some headaches on my part. Therefore a switch for sudo which causes it to dump the configuration to stdout (like e.g. samba's testparms) might be usefull. The "-l" switch already gives some information about the current user but not for all users and not all configuration info. Of course this kind of output is best restricted to the root user.
Are you basically asking for an option to dump out sudoers along with the builtin Defaults vales? "sudo -V" when run as root already prints out the bulitin Defaults info but I can't exactly what you are asking for.