@@ -1426,8 +1426,9 @@ $ sudo sh -c "cd /home ; du -s * | sort -rn > USAGE"
14261426Error messages produced by
14271427.Nm
14281428include:
1429- .Bl -tag -width 4n
1430- .It Li editing files in a writable directory is not permitted
1429+ .Pp
1430+ editing files in a writable directory is not permitted
1431+ .Bd -ragged -offset 4n -compact
14311432By default,
14321433.Nm sudoedit
14331434does not permit editing a file when any of the parent directories are writable
@@ -1439,7 +1440,10 @@ See the
14391440option in
14401441.Xr sudoers @mansectform@
14411442for more information.
1442- .It Li editing symbolic links is not permitted
1443+ .Ed
1444+ .Pp
1445+ editing symbolic links is not permitted
1446+ .Bd -ragged -offset 4n -compact
14431447By default,
14441448.Nm sudoedit
14451449does not follow symbolic links when opening files.
@@ -1448,7 +1452,10 @@ See the
14481452option in
14491453.Xr sudoers @mansectform@
14501454for more information.
1451- .It Li effective uid is not 0, is sudo installed setuid root?
1455+ .Ed
1456+ .Pp
1457+ effective uid is not 0, is sudo installed setuid root?
1458+ .Bd -ragged -offset 4n -compact
14521459.Nm
14531460was not run with root privileges.
14541461The
@@ -1457,7 +1464,11 @@ binary must be owned by the root user and have the set-user-ID bit set.
14571464Also, it must not be located on a file system mounted with the
14581465.Sq nosuid
14591466option or on an NFS file system that maps uid 0 to an unprivileged uid.
1460- .It Li effective uid is not 0, is sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
1467+ .Ed
1468+ .Pp
1469+ effective uid is not 0, is sudo on a file system with the 'nosuid'
1470+ option set or an NFS file system without root privileges?
1471+ .Bd -ragged -offset 4n -compact
14611472.Nm
14621473was not run with root privileges.
14631474The
@@ -1469,26 +1480,38 @@ The most common reason for this is that the file system the
14691480binary is located on is mounted with the
14701481.Sq nosuid
14711482option or it is an NFS file system that maps uid 0 to an unprivileged uid.
1472- .It Li fatal error, unable to load plugins
1483+ .Ed
1484+ .Pp
1485+ fatal error, unable to load plugins
1486+ .Bd -ragged -offset 4n -compact
14731487An error occurred while loading or initializing the plugins specified in
14741488.Xr sudo.conf @mansectform@ .
1475- .It Li invalid environment variable name
1489+ .Ed
1490+ .Pp
1491+ invalid environment variable name
1492+ .Bd -ragged -offset 4n -compact
14761493One or more environment variable names specified via the
14771494.Fl E
14781495option contained an equal sign
14791496.Pq Ql = .
14801497The arguments to the
14811498.Fl E
14821499option should be environment variable names without an associated value.
1483- .It Li no password was provided
1500+ .Ed
1501+ .Pp
1502+ no password was provided
1503+ .Bd -ragged -offset 4n -compact
14841504When
14851505.Nm
14861506tried to read the password, it did not receive any characters.
14871507This may happen if no terminal is available (or the
14881508.Fl S
14891509option is specified) and the standard input has been redirected from
14901510.Pa /dev/null .
1491- .It Li a terminal is required to read the password
1511+ .Ed
1512+ .Pp
1513+ a terminal is required to read the password
1514+ .Bd -ragged -offset 4n -compact
14921515.Nm
14931516needs to read the password but there is no mechanism available for it
14941517to do so.
@@ -1511,11 +1534,19 @@ an askpass helper can be configured via either the
15111534file or by setting the
15121535.Ev SUDO_ASKPASS
15131536environment variable.
1514- .It Li no writable temporary directory found
1537+ .Ed
1538+ .Pp
1539+ no writable temporary directory found
1540+ .Bd -ragged -offset 4n -compact
15151541.Nm sudoedit
15161542was unable to find a usable temporary directory in which to store its
15171543intermediate files.
1518- .It Li The Do " no new privileges" Dc " flag is set, which prevents sudo from running as root."
1544+ .Ed
1545+ .Pp
1546+ The
1547+ .Dq no new privileges
1548+ flag is set, which prevents sudo from running as root.
1549+ .Bd -ragged -offset 4n -compact
15191550.Nm
15201551was run by a process that has the Linux
15211552.Dq no new privileges
@@ -1529,27 +1560,42 @@ The most likely cause for this is running
15291560within a container that sets this flag.
15301561Check the documentation to see if it is possible to configure the
15311562container such that the flag is not set.
1532- .It Li sudo must be owned by uid 0 and have the setuid bit set
1563+ .Ed
1564+ .Pp
1565+ sudo must be owned by uid 0 and have the setuid bit set
1566+ .Bd -ragged -offset 4n -compact
15331567.Nm
15341568was not run with root privileges.
15351569The
15361570.Nm
15371571binary does not have the correct owner or permissions.
15381572It must be owned by the root user and have the set-user-ID bit set.
1539- .It Li sudoedit is not supported on this platform
1573+ .Ed
1574+ .Pp
1575+ sudoedit is not supported on this platform
1576+ .Bd -ragged -offset 4n -compact
15401577It is only possible to run
15411578.Nm sudoedit
15421579on systems that support setting the effective user-ID.
1543- .It Li timed out reading password
1580+ .Ed
1581+ .Pp
1582+ timed out reading password
1583+ .Bd -ragged -offset 4n -compact
15441584The user did not enter a password before the password timeout
15451585(5 minutes by default) expired.
1546- .It Li you do not exist in the passwd database
1586+ .Ed
1587+ .Pp
1588+ you do not exist in the passwd database
1589+ .Bd -ragged -offset 4n -compact
15471590Your user-ID does not appear in the system passwd database.
1548- .It Li you may not specify environment variables in edit mode
1591+ .Ed
1592+ .Pp
1593+ you may not specify environment variables in edit mode
1594+ .Bd -ragged -offset 4n -compact
15491595It is only possible to specify environment variables when running a
15501596.Ar command .
15511597When editing a file, the editor is run with the user's environment unmodified.
1552- .El
1598+ .Ed
15531599.Sh SEE ALSO
15541600.Xr su 1 ,
15551601.Xr stat 2 ,
0 commit comments