From 6cd69fbe98eee89b7d59fd3e607e1c20c10ea084 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 12 Jul 2012 15:17:10 -0400 Subject: [PATCH] Minor cosmetic fixes. --HG-- branch : 1.7 --- sudo.cat | 34 +++++++++++++++++----------------- sudo.man.in | 36 ++++++++++++++++++------------------ sudo.pod | 32 ++++++++++++++++---------------- 3 files changed, 51 insertions(+), 51 deletions(-) diff --git a/sudo.cat b/sudo.cat index 08520340b..fb035a786 100644 --- a/sudo.cat +++ b/sudo.cat @@ -214,7 +214,7 @@ OOPPTTIIOONNSS -n The --nn (_n_o_n_-_i_n_t_e_r_a_c_t_i_v_e) option prevents ssuuddoo from prompting the user for a password. If a password is required for the command to run, ssuuddoo will display an error - messages and exit. + message and exit. -P The --PP (_p_r_e_s_e_r_v_e _g_r_o_u_p _v_e_c_t_o_r) option causes ssuuddoo to preserve the invoking user's group vector unaltered. By @@ -304,7 +304,7 @@ OOPPTTIIOONNSS matched is ALL, the user may set variables that would overwise be forbidden. See _s_u_d_o_e_r_s(4) for more information. -RREETTUURRNN VVAALLUUEESS +EEXXIITT VVAALLUUEE Upon successful execution of a program, the exit status from ssuuddoo will simply be the exit status of the program that was executed. @@ -415,45 +415,45 @@ EENNVVIIRROONNMMEENNTT ssuuddoo utilizes the following environment variables: EDITOR Default editor to use in --ee (sudoedit) mode if neither - SUDO_EDITOR nor VISUAL is set + SUDO_EDITOR nor VISUAL is set. MAIL In --ii mode or when _e_n_v___r_e_s_e_t is enabled in _s_u_d_o_e_r_s, set - to the mail spool of the target user + to the mail spool of the target user. HOME Set to the home directory of the target user if --ii or --HH are specified, _e_n_v___r_e_s_e_t or _a_l_w_a_y_s___s_e_t___h_o_m_e are set in _s_u_d_o_e_r_s, or when the --ss option is specified and - _s_e_t___h_o_m_e is set in _s_u_d_o_e_r_s + _s_e_t___h_o_m_e is set in _s_u_d_o_e_r_s. PATH Set to a sane value if the _s_e_c_u_r_e___p_a_t_h sudoers option is set. - SHELL Used to determine shell to run with -s option + SHELL Used to determine shell to run with --ss option. SUDO_ASKPASS Specifies the path to a helper program used to read the - password if no terminal is available or if the -A + password if no terminal is available or if the --AA option is specified. - SUDO_COMMAND Set to the command run by sudo + SUDO_COMMAND Set to the command run by sudo. - SUDO_EDITOR Default editor to use in --ee (sudoedit) mode + SUDO_EDITOR Default editor to use in --ee (sudoedit) mode. - SUDO_GID Set to the group ID of the user who invoked sudo + SUDO_GID Set to the group ID of the user who invoked sudo. - SUDO_PROMPT Used as the default password prompt + SUDO_PROMPT Used as the default password prompt. SUDO_PS1 If set, PS1 will be set to its value for the program - being run + being run. - SUDO_UID Set to the user ID of the user who invoked sudo + SUDO_UID Set to the user ID of the user who invoked sudo. - SUDO_USER Set to the login of the user who invoked sudo + SUDO_USER Set to the login of the user who invoked sudo. USER Set to the target user (root unless the --uu option is - specified) + specified). VISUAL Default editor to use in --ee (sudoedit) mode if - SUDO_EDITOR is not set + SUDO_EDITOR is not set. FFIILLEESS _/_e_t_c_/_s_u_d_o_e_r_s List of who can run what @@ -551,4 +551,4 @@ DDIISSCCLLAAIIMMEERR -1.7.10 May 23, 2012 SUDO(1m) +1.7.10 July 12, 2012 SUDO(1m) diff --git a/sudo.man.in b/sudo.man.in index efb7b9e37..384f8530e 100644 --- a/sudo.man.in +++ b/sudo.man.in @@ -149,7 +149,7 @@ .\" ======================================================================== .\" .IX Title "SUDO @mansectsu@" -.TH SUDO @mansectsu@ "May 23, 2012" "1.7.10" "MAINTENANCE COMMANDS" +.TH SUDO @mansectsu@ "July 12, 2012" "1.7.10" "MAINTENANCE COMMANDS" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -393,7 +393,7 @@ is specified multiple times, a longer list format is used. .IX Item "-n" The \fB\-n\fR (\fInon-interactive\fR) option prevents \fBsudo\fR from prompting the user for a password. If a password is required for the command -to run, \fBsudo\fR will display an error messages and exit. +to run, \fBsudo\fR will display an error message and exit. .IP "\-P" 12 .IX Item "-P" The \fB\-P\fR (\fIpreserve\fR \fIgroup vector\fR) option causes \fBsudo\fR to @@ -506,8 +506,8 @@ variables with one important exception. If the \fIsetenv\fR option is set in \fIsudoers\fR, the command to be run has the \f(CW\*(C`SETENV\*(C'\fR tag set or the command matched is \f(CW\*(C`ALL\*(C'\fR, the user may set variables that would overwise be forbidden. See \fIsudoers\fR\|(@mansectform@) for more information. -.SH "RETURN VALUES" -.IX Header "RETURN VALUES" +.SH "EXIT VALUE" +.IX Header "EXIT VALUE" Upon successful execution of a program, the exit status from \fBsudo\fR will simply be the exit status of the program that was executed. .PP @@ -623,19 +623,19 @@ information, please see the \f(CW\*(C`PREVENTING SHELL ESCAPES\*(C'\fR section i .el .IP "\f(CW\*(C`EDITOR\*(C'\fR" 16 .IX Item "EDITOR" Default editor to use in \fB\-e\fR (sudoedit) mode if neither \f(CW\*(C`SUDO_EDITOR\*(C'\fR -nor \f(CW\*(C`VISUAL\*(C'\fR is set +nor \f(CW\*(C`VISUAL\*(C'\fR is set. .ie n .IP "\*(C`MAIL\*(C'" 16 .el .IP "\f(CW\*(C`MAIL\*(C'\fR" 16 .IX Item "MAIL" In \fB\-i\fR mode or when \fIenv_reset\fR is enabled in \fIsudoers\fR, set -to the mail spool of the target user +to the mail spool of the target user. .ie n .IP "\*(C`HOME\*(C'" 16 .el .IP "\f(CW\*(C`HOME\*(C'\fR" 16 .IX Item "HOME" Set to the home directory of the target user if \fB\-i\fR or \fB\-H\fR are specified, \fIenv_reset\fR or \fIalways_set_home\fR are set in \fIsudoers\fR, or when the \fB\-s\fR option is specified and \fIset_home\fR is set in -\&\fIsudoers\fR +\&\fIsudoers\fR. .ie n .IP "\*(C`PATH\*(C'" 16 .el .IP "\f(CW\*(C`PATH\*(C'\fR" 16 .IX Item "PATH" @@ -643,49 +643,49 @@ Set to a sane value if the \fIsecure_path\fR sudoers option is set. .ie n .IP "\*(C`SHELL\*(C'" 16 .el .IP "\f(CW\*(C`SHELL\*(C'\fR" 16 .IX Item "SHELL" -Used to determine shell to run with \f(CW\*(C`\-s\*(C'\fR option +Used to determine shell to run with \fB\-s\fR option. .ie n .IP "\*(C`SUDO_ASKPASS\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_ASKPASS\*(C'\fR" 16 .IX Item "SUDO_ASKPASS" Specifies the path to a helper program used to read the password -if no terminal is available or if the \f(CW\*(C`\-A\*(C'\fR option is specified. +if no terminal is available or if the \fB\-A\fR option is specified. .ie n .IP "\*(C`SUDO_COMMAND\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_COMMAND\*(C'\fR" 16 .IX Item "SUDO_COMMAND" -Set to the command run by sudo +Set to the command run by sudo. .ie n .IP "\*(C`SUDO_EDITOR\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_EDITOR\*(C'\fR" 16 .IX Item "SUDO_EDITOR" -Default editor to use in \fB\-e\fR (sudoedit) mode +Default editor to use in \fB\-e\fR (sudoedit) mode. .ie n .IP "\*(C`SUDO_GID\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_GID\*(C'\fR" 16 .IX Item "SUDO_GID" -Set to the group \s-1ID\s0 of the user who invoked sudo +Set to the group \s-1ID\s0 of the user who invoked sudo. .ie n .IP "\*(C`SUDO_PROMPT\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_PROMPT\*(C'\fR" 16 .IX Item "SUDO_PROMPT" -Used as the default password prompt +Used as the default password prompt. .ie n .IP "\*(C`SUDO_PS1\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_PS1\*(C'\fR" 16 .IX Item "SUDO_PS1" -If set, \f(CW\*(C`PS1\*(C'\fR will be set to its value for the program being run +If set, \f(CW\*(C`PS1\*(C'\fR will be set to its value for the program being run. .ie n .IP "\*(C`SUDO_UID\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_UID\*(C'\fR" 16 .IX Item "SUDO_UID" -Set to the user \s-1ID\s0 of the user who invoked sudo +Set to the user \s-1ID\s0 of the user who invoked sudo. .ie n .IP "\*(C`SUDO_USER\*(C'" 16 .el .IP "\f(CW\*(C`SUDO_USER\*(C'\fR" 16 .IX Item "SUDO_USER" -Set to the login of the user who invoked sudo +Set to the login of the user who invoked sudo. .ie n .IP "\*(C`USER\*(C'" 16 .el .IP "\f(CW\*(C`USER\*(C'\fR" 16 .IX Item "USER" -Set to the target user (root unless the \fB\-u\fR option is specified) +Set to the target user (root unless the \fB\-u\fR option is specified). .ie n .IP "\*(C`VISUAL\*(C'" 16 .el .IP "\f(CW\*(C`VISUAL\*(C'\fR" 16 .IX Item "VISUAL" Default editor to use in \fB\-e\fR (sudoedit) mode if \f(CW\*(C`SUDO_EDITOR\*(C'\fR -is not set +is not set. .SH "FILES" .IX Header "FILES" .ie n .IP "\fI@sysconfdir@/sudoers\fR" 24 diff --git a/sudo.pod b/sudo.pod index e8892e28e..432446a2c 100644 --- a/sudo.pod +++ b/sudo.pod @@ -281,7 +281,7 @@ is specified multiple times, a longer list format is used. The B<-n> (I) option prevents B from prompting the user for a password. If a password is required for the command -to run, B will display an error messages and exit. +to run, B will display an error message and exit. =item -P @@ -405,7 +405,7 @@ is set in I, the command to be run has the C tag set or the command matched is C, the user may set variables that would overwise be forbidden. See L for more information. -=head1 RETURN VALUES +=head1 EXIT VALUE Upon successful execution of a program, the exit status from B will simply be the exit status of the program that was executed. @@ -526,19 +526,19 @@ B utilizes the following environment variables: =item C Default editor to use in B<-e> (sudoedit) mode if neither C -nor C is set +nor C is set. =item C In B<-i> mode or when I is enabled in I, set -to the mail spool of the target user +to the mail spool of the target user. =item C Set to the home directory of the target user if B<-i> or B<-H> are specified, I or I are set in I, or when the B<-s> option is specified and I is set in -I +I. =item C @@ -546,49 +546,49 @@ Set to a sane value if the I sudoers option is set. =item C -Used to determine shell to run with C<-s> option +Used to determine shell to run with B<-s> option. =item C Specifies the path to a helper program used to read the password -if no terminal is available or if the C<-A> option is specified. +if no terminal is available or if the B<-A> option is specified. =item C -Set to the command run by sudo +Set to the command run by sudo. =item C -Default editor to use in B<-e> (sudoedit) mode +Default editor to use in B<-e> (sudoedit) mode. =item C -Set to the group ID of the user who invoked sudo +Set to the group ID of the user who invoked sudo. =item C -Used as the default password prompt +Used as the default password prompt. =item C -If set, C will be set to its value for the program being run +If set, C will be set to its value for the program being run. =item C -Set to the user ID of the user who invoked sudo +Set to the user ID of the user who invoked sudo. =item C -Set to the login of the user who invoked sudo +Set to the login of the user who invoked sudo. =item C -Set to the target user (root unless the B<-u> option is specified) +Set to the target user (root unless the B<-u> option is specified). =item C Default editor to use in B<-e> (sudoedit) mode if C -is not set +is not set. =back -- 2.40.0