Re: Debug

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
On Tue, 01 Dec 2015 04:54:51 -0500, Radovan Sroka wrote:

> I tried debuging sudoers and I'm not able to do it.
> 
> I put this into sudo.conf: Debug sudo /var/log/sudo_debug all@debug or Debug 
> sudoers /var/log/sudoers_debug all@debug and it's not working.
> 
> Sudo doesn't generate plugins debugs, and the second option with sudoers does
> n't generate anything.

What version of sudo are you using?  For sudo 1.8.12 and higher:

    Debug sudoers.so /var/log/sudoers_debug all@debug

will give you a debug log for the sudoers module (note the ".so" suffix).

For sudo 1.8.4 through 1.8.11 it would simply be:

    Debug sudo /var/log/sudo_debug all@debug

for both sudo and the plugin.  The executable/dso name matters and
must match the sudo.conf line.

 - todd
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.