mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Use .Ar macro instead of "file ..."
Use ".Cm -" instead of ".Li -" for the default login class. From Ingo Schwarze.
This commit is contained in:
parent
f909c0d132
commit
a61935c2b9
@ -12,7 +12,7 @@ SSYYNNOOPPSSIISS
|
|||||||
[--pp _p_r_o_m_p_t] [--rr _r_o_l_e] [--tt _t_y_p_e] [--uu _u_s_e_r] [_V_A_R=_v_a_l_u_e] [--ii | --ss]
|
[--pp _p_r_o_m_p_t] [--rr _r_o_l_e] [--tt _t_y_p_e] [--uu _u_s_e_r] [_V_A_R=_v_a_l_u_e] [--ii | --ss]
|
||||||
[_c_o_m_m_a_n_d]
|
[_c_o_m_m_a_n_d]
|
||||||
ssuuddooeeddiitt [--AAkknnSS] [--aa _t_y_p_e] [--CC _n_u_m] [--cc _c_l_a_s_s] [--gg _g_r_o_u_p] [--hh _h_o_s_t]
|
ssuuddooeeddiitt [--AAkknnSS] [--aa _t_y_p_e] [--CC _n_u_m] [--cc _c_l_a_s_s] [--gg _g_r_o_u_p] [--hh _h_o_s_t]
|
||||||
[--pp _p_r_o_m_p_t] [--uu _u_s_e_r] file ...
|
[--pp _p_r_o_m_p_t] [--uu _u_s_e_r] _f_i_l_e _._._.
|
||||||
|
|
||||||
DDEESSCCRRIIPPTTIIOONN
|
DDEESSCCRRIIPPTTIIOONN
|
||||||
ssuuddoo allows a permitted user to execute a _c_o_m_m_a_n_d as the superuser or
|
ssuuddoo allows a permitted user to execute a _c_o_m_m_a_n_d as the superuser or
|
||||||
@ -90,7 +90,7 @@ DDEESSCCRRIIPPTTIIOONN
|
|||||||
Run the command with resource limits and scheduling priority
|
Run the command with resource limits and scheduling priority
|
||||||
of the specified login _c_l_a_s_s. The _c_l_a_s_s argument can be
|
of the specified login _c_l_a_s_s. The _c_l_a_s_s argument can be
|
||||||
either a class name as defined in _/_e_t_c_/_l_o_g_i_n_._c_o_n_f, or a
|
either a class name as defined in _/_e_t_c_/_l_o_g_i_n_._c_o_n_f, or a
|
||||||
single `-' character. If _c_l_a_s_s is -, the default login class
|
single `-' character. If _c_l_a_s_s is --, the default login class
|
||||||
of the target user will be used. Otherwise, the command must
|
of the target user will be used. Otherwise, the command must
|
||||||
be run as the superuser (user ID 0), or ssuuddoo must be run from
|
be run as the superuser (user ID 0), or ssuuddoo must be run from
|
||||||
a shell that is already running as the superuser. If the
|
a shell that is already running as the superuser. If the
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
[\fB\-h\fR\ \fIhost\fR]
|
[\fB\-h\fR\ \fIhost\fR]
|
||||||
[\fB\-p\fR\ \fIprompt\fR]
|
[\fB\-p\fR\ \fIprompt\fR]
|
||||||
[\fB\-u\fR\ \fIuser\fR]
|
[\fB\-u\fR\ \fIuser\fR]
|
||||||
file ...
|
\fIfile\ ...\fR
|
||||||
.PD
|
.PD
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
\fBsudo\fR
|
\fBsudo\fR
|
||||||
@ -236,7 +236,7 @@ character.
|
|||||||
If
|
If
|
||||||
\fIclass\fR
|
\fIclass\fR
|
||||||
is
|
is
|
||||||
\fR-\fR,
|
\fB-\fR,
|
||||||
the default login class of the target user will be used.
|
the default login class of the target user will be used.
|
||||||
Otherwise, the command must be run as the superuser (user ID 0), or
|
Otherwise, the command must be run as the superuser (user ID 0), or
|
||||||
\fBsudo\fR
|
\fBsudo\fR
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
.Op Fl h Ar host
|
.Op Fl h Ar host
|
||||||
.Op Fl p Ar prompt
|
.Op Fl p Ar prompt
|
||||||
.Op Fl u Ar user
|
.Op Fl u Ar user
|
||||||
file ...
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm sudo
|
.Nm sudo
|
||||||
allows a permitted user to execute a
|
allows a permitted user to execute a
|
||||||
@ -215,7 +215,7 @@ character.
|
|||||||
If
|
If
|
||||||
.Ar class
|
.Ar class
|
||||||
is
|
is
|
||||||
.Li - ,
|
.Cm - ,
|
||||||
the default login class of the target user will be used.
|
the default login class of the target user will be used.
|
||||||
Otherwise, the command must be run as the superuser (user ID 0), or
|
Otherwise, the command must be run as the superuser (user ID 0), or
|
||||||
.Nm sudo
|
.Nm sudo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user