Skip to content

Commit e772479

Browse files
committed
Add sudoers plugin Debug example and x-ref sudoers man page for details.
1 parent ec6906f commit e772479

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

docs/sudo.conf.man.in

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,21 @@ would log all debugging statements, regardless of level, for the
602602
shared library that implements
603603
\fBsudo\fR's
604604
intercept functionality on some systems.
605+
.nf
606+
.sp
607+
.RS 4n
608+
Debug @sudoers_plugin@ @log_dir@/sudoers_debug all@debug
609+
.RE
610+
.fi
611+
.PP
612+
would log all debugging statements, regardless of level, for the
613+
\fBsudoers\fR
614+
plugin.
615+
See
616+
sudoers(@mansectform@)
617+
for the full list of subsystems supported by the
618+
\fBsudoers\fR
619+
plugin.
605620
.PP
606621
As of
607622
\fBsudo\fR

docs/sudo.conf.mdoc.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,18 @@ would log all debugging statements, regardless of level, for the
552552
shared library that implements
553553
.Nm sudo Ns 's
554554
intercept functionality on some systems.
555+
.Bd -literal -offset 4n
556+
Debug @sudoers_plugin@ @log_dir@/sudoers_debug all@debug
557+
.Ed
558+
.Pp
559+
would log all debugging statements, regardless of level, for the
560+
.Nm sudoers
561+
plugin.
562+
See
563+
.Xr sudoers @mansectform@
564+
for the full list of subsystems supported by the
565+
.Nm sudoers
566+
plugin.
555567
.Pp
556568
As of
557569
.Nm sudo

0 commit comments

Comments
 (0)