version 1.1.1.3, 2012/10/09 09:29:52
|
version 1.1.1.6, 2014/06/15 16:12:54
|
Line 1
|
Line 1
|
.\" DO NOT EDIT THIS FILE, IT IS NOT THE MASTER! |
.\" DO NOT EDIT THIS FILE, IT IS NOT THE MASTER! |
.\" IT IS GENERATED AUTOMATICALLY FROM visudo.mdoc.in |
.\" IT IS GENERATED AUTOMATICALLY FROM visudo.mdoc.in |
.\" |
.\" |
.\" Copyright (c) 1996,1998-2005, 2007-2012 | .\" Copyright (c) 1996,1998-2005, 2007-2014 |
.\" Todd C. Miller <Todd.Miller@courtesan.com> |
.\" Todd C. Miller <Todd.Miller@courtesan.com> |
.\" |
.\" |
.\" Permission to use, copy, modify, and distribute this software for any |
.\" Permission to use, copy, modify, and distribute this software for any |
Line 21
|
Line 21
|
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force |
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force |
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. |
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512. |
.\" |
.\" |
.TH "VISUDO" "@mansectsu@" "July 12, 2012" "Sudo @PACKAGE_VERSION@" "System Manager's Manual" | .TH "VISUDO" "@mansectsu@" "February 15, 2014" "Sudo @PACKAGE_VERSION@" "System Manager's Manual" |
.nh |
.nh |
.if n .ad l |
.if n .ad l |
.SH "NAME" |
.SH "NAME" |
Line 32
|
Line 32
|
\fBvisudo\fR |
\fBvisudo\fR |
[\fB\-chqsV\fR] |
[\fB\-chqsV\fR] |
[\fB\-f\fR\ \fIsudoers\fR] |
[\fB\-f\fR\ \fIsudoers\fR] |
|
[\fB\-x\fR\ \fIfile\fR] |
.SH "DESCRIPTION" |
.SH "DESCRIPTION" |
\fBvisudo\fR |
\fBvisudo\fR |
edits the |
edits the |
Line 93 Upon finding an error,
|
Line 94 Upon finding an error,
|
\fBvisudo\fR |
\fBvisudo\fR |
will print a message stating the line number(s) |
will print a message stating the line number(s) |
where the error occurred and the user will receive the |
where the error occurred and the user will receive the |
``What now?'' | \(lqWhat now?\(rq |
prompt. |
prompt. |
At this point the user may enter |
At this point the user may enter |
`e' | \(oqe\(cq |
to re-edit the |
to re-edit the |
\fIsudoers\fR |
\fIsudoers\fR |
file, |
file, |
`x' | \(oqx\(cq |
to exit without saving the changes, or |
to exit without saving the changes, or |
`Q' | \(oqQ\(cq |
to quit and save changes. |
to quit and save changes. |
The |
The |
`Q' | \(oqQ\(cq |
option should be used with extreme care because if |
option should be used with extreme care because if |
\fBvisudo\fR |
\fBvisudo\fR |
believes there to be a parse error, so will |
believes there to be a parse error, so will |
Line 115 will be able to
|
Line 116 will be able to
|
\fBsudo\fR |
\fBsudo\fR |
again until the error is fixed. |
again until the error is fixed. |
If |
If |
`e' | \(oqe\(cq |
is typed to edit the |
is typed to edit the |
\fIsudoers\fR |
\fIsudoers\fR |
file after a parse error has been detected, the cursor will be placed on |
file after a parse error has been detected, the cursor will be placed on |
Line 123 the line where the error occurred (if the editor suppo
|
Line 124 the line where the error occurred (if the editor suppo
|
.PP |
.PP |
The options are as follows: |
The options are as follows: |
.TP 12n |
.TP 12n |
\fB\-c\fR | \fB\-c\fR, \fB\--check\fR |
Enable |
Enable |
\fIcheck-only\fR |
\fIcheck-only\fR |
mode. |
mode. |
Line 143 If an error is encountered,
|
Line 144 If an error is encountered,
|
\fBvisudo\fR |
\fBvisudo\fR |
will exit with a value of 1. |
will exit with a value of 1. |
.TP 12n |
.TP 12n |
\fB\-f\fR \fIsudoers\fR | \fB\-f\fR \fIsudoers\fR, \fB\--file\fR=\fIsudoers\fR |
.br | Specify an alternate |
Specify and alternate | |
\fIsudoers\fR |
\fIsudoers\fR |
file location. |
file location. |
With this option | With this option, |
\fBvisudo\fR |
\fBvisudo\fR |
will edit (or check) the |
will edit (or check) the |
\fIsudoers\fR |
\fIsudoers\fR |
Line 158 instead of the default,
|
Line 158 instead of the default,
|
The lock file used is the specified |
The lock file used is the specified |
\fIsudoers\fR |
\fIsudoers\fR |
file with |
file with |
``\.tmp'' | \(lq\.tmp\(rq |
appended to it. |
appended to it. |
In |
In |
\fIcheck-only\fR |
\fIcheck-only\fR |
mode only, the argument to |
mode only, the argument to |
\fB\-f\fR |
\fB\-f\fR |
may be |
may be |
`-', | \(oq-\(cq, |
indicating that |
indicating that |
\fIsudoers\fR |
\fIsudoers\fR |
will be read from the standard input. |
will be read from the standard input. |
.TP 12n |
.TP 12n |
\fB\-h\fR | \fB\-h\fR, \fB\--help\fR |
The | Display a short help message to the standard output and exit. |
\fB\-h\fR (\fIhelp\fR) | |
option causes | |
\fBvisudo\fR | |
to print a short help message | |
to the standard output and exit. | |
.TP 12n |
.TP 12n |
\fB\-q\fR | \fB\-q\fR, \fB\--quiet\fR |
Enable |
Enable |
\fIquiet\fR |
\fIquiet\fR |
mode. |
mode. |
Line 188 the
|
Line 183 the
|
\fB\-c\fR |
\fB\-c\fR |
option. |
option. |
.TP 12n |
.TP 12n |
\fB\-s\fR | \fB\-s\fR, \fB\--strict\fR |
Enable |
Enable |
\fIstrict\fR |
\fIstrict\fR |
checking of the |
checking of the |
Line 200 will consider this a parse error.
|
Line 195 will consider this a parse error.
|
Note that it is not possible to differentiate between an |
Note that it is not possible to differentiate between an |
alias and a host name or user name that consists solely of uppercase |
alias and a host name or user name that consists solely of uppercase |
letters, digits, and the underscore |
letters, digits, and the underscore |
(`_') | (\(oq_\(cq) |
character. |
character. |
.TP 12n |
.TP 12n |
\fB\-V\fR | \fB\-V\fR, \fB\--version\fR |
The | Print the |
\fB\-V\fR (\fIversion\fR) | |
option causes | |
\fBvisudo\fR |
\fBvisudo\fR |
to print its version number | and |
and exit. | \fIsudoers\fR |
| grammar versions and exit. |
| .TP 12n |
| \fB\-x\fR \fIfile\fR, \fB\--export\fR=\fIfile\fR |
| Export |
| \fIsudoers\fR |
| in JSON format and write it to |
| \fIfile\fR. |
| If |
| \fIfile\fR |
| is |
| \(oq-\(cq, |
| the exported |
| \fIsudoers\fR |
| policy will be written to the standard output. |
| The exported format is intended to be easier for third-party |
| applications to parse than the traditional |
| \fIsudoers\fR |
| format. |
| The various values have explicit types which removes much of the |
| ambiguity of the |
| \fIsudoers\fR |
| format. |
.SH "ENVIRONMENT" |
.SH "ENVIRONMENT" |
The following environment variables may be consulted depending on |
The following environment variables may be consulted depending on |
the value of the |
the value of the |
Line 256 Your user ID does not appear in the system passwd file
|
Line 271 Your user ID does not appear in the system passwd file
|
Either you are trying to use an undeclared {User,Runas,Host,Cmnd}_Alias |
Either you are trying to use an undeclared {User,Runas,Host,Cmnd}_Alias |
or you have a user or host name listed that consists solely of |
or you have a user or host name listed that consists solely of |
uppercase letters, digits, and the underscore |
uppercase letters, digits, and the underscore |
(`_') | (\(oq_\(cq) |
character. |
character. |
In the latter case, you can ignore the warnings |
In the latter case, you can ignore the warnings |
(\fBsudo\fR |
(\fBsudo\fR |
Line 318 search the archives.
|
Line 333 search the archives.
|
.SH "DISCLAIMER" |
.SH "DISCLAIMER" |
\fBvisudo\fR |
\fBvisudo\fR |
is provided |
is provided |
``AS IS'' | \(lqAS IS\(rq |
and any express or implied warranties, including, but not limited |
and any express or implied warranties, including, but not limited |
to, the implied warranties of merchantability and fitness for a |
to, the implied warranties of merchantability and fitness for a |
particular purpose are disclaimed. |
particular purpose are disclaimed. |