Skip to content

Commit 8feff96

Browse files
committed
regen
1 parent d3293c5 commit 8feff96

File tree

4 files changed

+101
-68
lines changed

4 files changed

+101
-68
lines changed

docs/sudo.man.in

Lines changed: 63 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,8 +1521,9 @@ $ sudo sh -c "cd /home ; du -s * | sort -rn > USAGE"
15211521
Error messages produced by
15221522
\fBsudo\fR
15231523
include:
1524-
.TP 6n
1525-
\fRediting files in a writable directory is not permitted\fR
1524+
.PP
1525+
editing files in a writable directory is not permitted
1526+
.RS 4n
15261527
By default,
15271528
\fBsudoedit\fR
15281529
does not permit editing a file when any of the parent directories are writable
@@ -1534,8 +1535,10 @@ See the
15341535
option in
15351536
sudoers(@mansectform@)
15361537
for more information.
1537-
.TP 6n
1538-
\fRediting symbolic links is not permitted\fR
1538+
.RE
1539+
.PP
1540+
editing symbolic links is not permitted
1541+
.RS 4n
15391542
By default,
15401543
\fBsudoedit\fR
15411544
does not follow symbolic links when opening files.
@@ -1544,8 +1547,10 @@ See the
15441547
option in
15451548
sudoers(@mansectform@)
15461549
for more information.
1547-
.TP 6n
1548-
\fReffective uid is not 0, is sudo installed setuid root?\fR
1550+
.RE
1551+
.PP
1552+
effective uid is not 0, is sudo installed setuid root?
1553+
.RS 4n
15491554
\fBsudo\fR
15501555
was not run with root privileges.
15511556
The
@@ -1554,8 +1559,11 @@ binary must be owned by the root user and have the set-user-ID bit set.
15541559
Also, it must not be located on a file system mounted with the
15551560
\(oqnosuid\(cq
15561561
option or on an NFS file system that maps uid 0 to an unprivileged uid.
1557-
.TP 6n
1558-
\fReffective uid is not 0, is sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\fR
1562+
.RE
1563+
.PP
1564+
effective uid is not 0, is sudo on a file system with the 'nosuid'
1565+
option set or an NFS file system without root privileges?
1566+
.RS 4n
15591567
\fBsudo\fR
15601568
was not run with root privileges.
15611569
The
@@ -1567,30 +1575,38 @@ The most common reason for this is that the file system the
15671575
binary is located on is mounted with the
15681576
\(oqnosuid\(cq
15691577
option or it is an NFS file system that maps uid 0 to an unprivileged uid.
1570-
.TP 6n
1571-
\fRfatal error, unable to load plugins\fR
1578+
.RE
1579+
.PP
1580+
fatal error, unable to load plugins
1581+
.RS 4n
15721582
An error occurred while loading or initializing the plugins specified in
15731583
sudo.conf(@mansectform@).
1574-
.TP 6n
1575-
\fRinvalid environment variable name\fR
1584+
.RE
1585+
.PP
1586+
invalid environment variable name
1587+
.RS 4n
15761588
One or more environment variable names specified via the
15771589
\fB\-E\fR
15781590
option contained an equal sign
15791591
(\(oq=\(cq).
15801592
The arguments to the
15811593
\fB\-E\fR
15821594
option should be environment variable names without an associated value.
1583-
.TP 6n
1584-
\fRno password was provided\fR
1595+
.RE
1596+
.PP
1597+
no password was provided
1598+
.RS 4n
15851599
When
15861600
\fBsudo\fR
15871601
tried to read the password, it did not receive any characters.
15881602
This may happen if no terminal is available (or the
15891603
\fB\-S\fR
15901604
option is specified) and the standard input has been redirected from
15911605
\fI/dev/null\fR.
1592-
.TP 6n
1593-
\fRa terminal is required to read the password\fR
1606+
.RE
1607+
.PP
1608+
a terminal is required to read the password
1609+
.RS 4n
15941610
\fBsudo\fR
15951611
needs to read the password but there is no mechanism available for it
15961612
to do so.
@@ -1613,13 +1629,19 @@ sudo.conf(@mansectform@)
16131629
file or by setting the
16141630
\fRSUDO_ASKPASS\fR
16151631
environment variable.
1616-
.TP 6n
1617-
\fRno writable temporary directory found\fR
1632+
.RE
1633+
.PP
1634+
no writable temporary directory found
1635+
.RS 4n
16181636
\fBsudoedit\fR
16191637
was unable to find a usable temporary directory in which to store its
16201638
intermediate files.
1621-
.TP 6n
1622-
\fRThe\fR \(lqno new privileges\(rq flag is set, which prevents sudo from running as root.
1639+
.RE
1640+
.PP
1641+
The
1642+
\(lqno new privileges\(rq
1643+
flag is set, which prevents sudo from running as root.
1644+
.RS 4n
16231645
\fBsudo\fR
16241646
was run by a process that has the Linux
16251647
\(lqno new privileges\(rq
@@ -1633,31 +1655,42 @@ The most likely cause for this is running
16331655
within a container that sets this flag.
16341656
Check the documentation to see if it is possible to configure the
16351657
container such that the flag is not set.
1636-
.TP 6n
1637-
\fRsudo must be owned by uid 0 and have the setuid bit set\fR
1658+
.RE
1659+
.PP
1660+
sudo must be owned by uid 0 and have the setuid bit set
1661+
.RS 4n
16381662
\fBsudo\fR
16391663
was not run with root privileges.
16401664
The
16411665
\fBsudo\fR
16421666
binary does not have the correct owner or permissions.
16431667
It must be owned by the root user and have the set-user-ID bit set.
1644-
.TP 6n
1645-
\fRsudoedit is not supported on this platform\fR
1668+
.RE
1669+
.PP
1670+
sudoedit is not supported on this platform
1671+
.RS 4n
16461672
It is only possible to run
16471673
\fBsudoedit\fR
16481674
on systems that support setting the effective user-ID.
1649-
.TP 6n
1650-
\fRtimed out reading password\fR
1675+
.RE
1676+
.PP
1677+
timed out reading password
1678+
.RS 4n
16511679
The user did not enter a password before the password timeout
16521680
(5 minutes by default) expired.
1653-
.TP 6n
1654-
\fRyou do not exist in the passwd database\fR
1681+
.RE
1682+
.PP
1683+
you do not exist in the passwd database
1684+
.RS 4n
16551685
Your user-ID does not appear in the system passwd database.
1656-
.TP 6n
1657-
\fRyou may not specify environment variables in edit mode\fR
1686+
.RE
1687+
.PP
1688+
you may not specify environment variables in edit mode
1689+
.RS 4n
16581690
It is only possible to specify environment variables when running a
16591691
\fIcommand\fR.
16601692
When editing a file, the editor is run with the user's environment unmodified.
1693+
.RE
16611694
.SH "SEE ALSO"
16621695
su(1),
16631696
stat(2),

docs/sudo_logsrv.proto.man.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ submitgroups StringList submit user's supplementary group names
726726
.PP
727727
submituid int64 submit user's user-ID
728728
.PP
729-
ttyname string the terminal the command was submitted from
729+
ttyname string terminal the command was submitted from
730730
.TE
731731
.PP
732732
The server must accept other variables not listed above but may

docs/sudoers.man.in

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6174,34 +6174,34 @@ locale.
61746174
If the user is not allowed to run the command, the reason for the denial
61756175
will follow the user name.
61766176
Possible reasons include:
6177-
.TP 3n
6177+
.TP 6n
61786178
user NOT in sudoers
61796179
The user is not listed in the
61806180
\fIsudoers\fR
61816181
file.
6182-
.TP 3n
6182+
.TP 6n
61836183
user NOT authorized on host
61846184
The user is listed in the
61856185
\fIsudoers\fR
61866186
file but is not allowed to run commands on the host.
6187-
.TP 3n
6187+
.TP 6n
61886188
command not allowed
61896189
The user is listed in the
61906190
\fIsudoers\fR
61916191
file for the host but they are not allowed to run the specified command.
6192-
.TP 3n
6192+
.TP 6n
61936193
3 incorrect password attempts
61946194
The user failed to enter their password after 3 tries.
61956195
The actual number of tries will vary based on the number of
61966196
failed attempts and the value of the
61976197
\fIpasswd_tries\fR
61986198
option.
6199-
.TP 3n
6199+
.TP 6n
62006200
a password is required
62016201
The
62026202
\fB\-n\fR
62036203
option was specified but a password was required.
6204-
.TP 3n
6204+
.TP 6n
62056205
sorry, you are not allowed to set the following environment variables
62066206
The user specified environment variables on the command line that
62076207
were not allowed by
@@ -6212,13 +6212,13 @@ If an error occurs,
62126212
will log a message and, in most cases, send a message to the
62136213
administrator via email.
62146214
Possible errors include:
6215-
.TP 3n
6215+
.TP 6n
62166216
parse error in @sysconfdir@/sudoers near line N
62176217
\fBsudoers\fR
62186218
encountered an error when parsing the specified file.
62196219
In some cases, the actual error may be one line above or below the
62206220
line number listed, depending on the type of error.
6221-
.TP 3n
6221+
.TP 6n
62226222
problem with defaults entries
62236223
The
62246224
\fIsudoers\fR
@@ -6229,12 +6229,12 @@ from running, but the
62296229
\fIsudoers\fR
62306230
file should be checked using
62316231
\fBvisudo\fR.
6232-
.TP 3n
6232+
.TP 6n
62336233
timestamp owner (username): \&No such user
62346234
The time stamp directory owner, as specified by the
62356235
\fItimestampowner\fR
62366236
setting, could not be found in the password database.
6237-
.TP 3n
6237+
.TP 6n
62386238
unable to open/read @sysconfdir@/sudoers
62396239
The
62406240
\fIsudoers\fR
@@ -6262,17 +6262,17 @@ file) to the end of the
62626262
line in the
62636263
sudo.conf(@mansectform@)
62646264
file.
6265-
.TP 3n
6265+
.TP 6n
62666266
unable to open @sysconfdir@/sudoers
62676267
The
62686268
\fI@sysconfdir@/sudoers\fR
62696269
file is missing.
6270-
.TP 3n
6270+
.TP 6n
62716271
@sysconfdir@/sudoers is not a regular file
62726272
The
62736273
\fI@sysconfdir@/sudoers\fR
62746274
file exists but is not a regular file or symbolic link.
6275-
.TP 3n
6275+
.TP 6n
62766276
@sysconfdir@/sudoers is owned by uid N, should be 0
62776277
The
62786278
\fIsudoers\fR
@@ -6291,7 +6291,7 @@ file) to the
62916291
line in the
62926292
sudo.conf(@mansectform@)
62936293
file.
6294-
.TP 3n
6294+
.TP 6n
62956295
@sysconfdir@/sudoers is world writable
62966296
The permissions on the
62976297
\fIsudoers\fR
@@ -6308,7 +6308,7 @@ option to the
63086308
line in the
63096309
sudo.conf(@mansectform@)
63106310
file.
6311-
.TP 3n
6311+
.TP 6n
63126312
@sysconfdir@/sudoers is owned by gid N, should be 1
63136313
The
63146314
\fIsudoers\fR
@@ -6327,7 +6327,7 @@ file) to the
63276327
line in the
63286328
sudo.conf(@mansectform@)
63296329
file.
6330-
.TP 3n
6330+
.TP 6n
63316331
unable to open @rundir@/ts/user-ID
63326332
\fBsudoers\fR
63336333
was unable to read or create the user's time stamp file.
@@ -6341,11 +6341,11 @@ is not searchable by group or other.
63416341
The default mode for
63426342
\fI@rundir@\fR
63436343
is 0711.
6344-
.TP 3n
6344+
.TP 6n
63456345
unable to write to @rundir@/ts/user-ID
63466346
\fBsudoers\fR
63476347
was unable to write to the user's time stamp file.
6348-
.TP 3n
6348+
.TP 6n
63496349
@rundir@/ts is owned by uid X, should be Y
63506350
The time stamp directory is owned by a user other than
63516351
\fItimestampowner\fR.
@@ -6354,7 +6354,7 @@ This can occur when the value of
63546354
has been changed.
63556355
\fBsudoers\fR
63566356
will ignore the time stamp directory until the owner is corrected.
6357-
.TP 3n
6357+
.TP 6n
63586358
@rundir@/ts is group writable
63596359
The time stamp directory is group-writable; it should be writable only by
63606360
\fItimestampowner\fR.

0 commit comments

Comments
 (0)