Skip to content

Commit 3686c9f

Browse files
committed
Document special cases for AIX-style shared libraries.
The shared object is a member of an archive file that is specified in parentheses.
1 parent e772479 commit 3686c9f

4 files changed

Lines changed: 56 additions & 6 deletions

File tree

docs/sudo.conf.man.in

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1818
.\"
1919
.nr SL @SEMAN@
20-
.TH "SUDO.CONF" "@mansectform@" "November 4, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
20+
.TH "SUDO.CONF" "@mansectform@" "November 6, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
2121
.nh
2222
.if n .ad l
2323
.SH "NAME"
@@ -153,6 +153,13 @@ Plugin sudoers_policy @sudoers_plugin@
153153
.RE
154154
.fi
155155
.PP
156+
On AIX systems, the plugin may be either a shared object
157+
ending in
158+
\(oq.so\(cq
159+
or an archive file containing a shared object ending in
160+
\(oq.a\(cq
161+
with the name of the shared object in parentheses at the end.
162+
.PP
156163
Starting with
157164
\fBsudo\fR
158165
1.8.5, any additional parameters after the
@@ -577,6 +584,17 @@ but a third-party plugin is free to use a different format so long
577584
as it does not include a comma
578585
(\(oq\&,\(cq).
579586
.PP
587+
On AIX systems, a
588+
\fIDebug\fR
589+
line will match a plugin specified as either the name of an
590+
SVR4-style shared object file ending in
591+
\(oq.so\(cq,
592+
an archive file ending in
593+
\(oq.a\(cq,
594+
or an archive file ending in
595+
\(oq.a\(cq
596+
with the name of the shared object in parentheses.
597+
.PP
580598
Examples:
581599
.nf
582600
.sp

docs/sudo.conf.mdoc.in

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717
.\"
1818
.nr SL @SEMAN@
19-
.Dd November 4, 2023
19+
.Dd November 6, 2023
2020
.Dt SUDO.CONF @mansectform@
2121
.Os Sudo @PACKAGE_VERSION@
2222
.Sh NAME
@@ -141,6 +141,13 @@ For example:
141141
Plugin sudoers_policy @sudoers_plugin@
142142
.Ed
143143
.Pp
144+
On AIX systems, the plugin may be either a shared object
145+
ending in
146+
.Ql .so
147+
or an archive file containing a shared object ending in
148+
.Ql .a
149+
with the name of the shared object in parentheses at the end.
150+
.Pp
144151
Starting with
145152
.Nm sudo
146153
1.8.5, any additional parameters after the
@@ -533,6 +540,17 @@ but a third-party plugin is free to use a different format so long
533540
as it does not include a comma
534541
.Pq Ql \&, .
535542
.Pp
543+
On AIX systems, a
544+
.Em Debug
545+
line will match a plugin specified as either the name of an
546+
SVR4-style shared object file ending in
547+
.Ql .so ,
548+
an archive file ending in
549+
.Ql .a ,
550+
or an archive file ending in
551+
.Ql .a
552+
with the name of the shared object in parentheses.
553+
.Pp
536554
Examples:
537555
.Bd -literal -offset 4n
538556
Debug sudo @log_dir@/sudo_debug all@warn,plugin@info

docs/sudoers.man.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.nr BA @BAMAN@
2626
.nr LC @LCMAN@
2727
.nr PS @PSMAN@
28-
.TH "SUDOERS" "@mansectform@" "September 28, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
28+
.TH "SUDOERS" "@mansectform@" "November 6, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
2929
.nh
3030
.if n .ad l
3131
.SH "NAME"
@@ -5247,6 +5247,13 @@ before the file extension;
52475247
becomes
52485248
\fIgroup_plugin64.so\fR.
52495249
.sp
5250+
On AIX systems, the plugin may be either a shared object
5251+
ending in
5252+
\(oq.so\(cq
5253+
or an archive file containing a shared object ending in
5254+
\(oq.a\(cq
5255+
with the name of the shared object in parentheses at the end.
5256+
.sp
52505257
For more information see
52515258
\fIGROUP PROVIDER PLUGINS\fR.
52525259
.TP 14n

docs/sudoers.mdoc.in

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.nr BA @BAMAN@
2626
.nr LC @LCMAN@
2727
.nr PS @PSMAN@
28-
.Dd September 28, 2023
28+
.Dd November 6, 2023
2929
.Dt SUDOERS @mansectform@
3030
.Os Sudo @PACKAGE_VERSION@
3131
.Sh NAME
@@ -2355,7 +2355,7 @@ to include the file
23552355
.Pa /etc/sudoers.xerxes .
23562356
Any path name separator characters
23572357
.Pq Ql /
2358-
present in the host name will be replaced with an underbar
2358+
present in the host name will be replaced with an underbar
23592359
.Pq Ql _
23602360
during expansion.
23612361
.Pp
@@ -4422,7 +4422,7 @@ should be used.
44224422
.Pp
44234423
Any path name separator characters
44244424
.Pq Ql /
4425-
present in the user, group or host name will be replaced with an underbar
4425+
present in the user, group or host name will be replaced with an underbar
44264426
.Pq Ql _
44274427
during expansion.
44284428
.It iolog_file
@@ -4943,6 +4943,13 @@ before the file extension;
49434943
becomes
49444944
.Pa group_plugin64.so .
49454945
.Pp
4946+
On AIX systems, the plugin may be either a shared object
4947+
ending in
4948+
.Ql .so
4949+
or an archive file containing a shared object ending in
4950+
.Ql .a
4951+
with the name of the shared object in parentheses at the end.
4952+
.Pp
49464953
For more information see
49474954
.Sx "GROUP PROVIDER PLUGINS" .
49484955
.It lecture

0 commit comments

Comments
 (0)