version 1.1.1.4, 2013/07/22 10:46:12
|
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@" "June 12, 2013" "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 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 an 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 170 indicating that
|
Line 170 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 203 letters, digits, and the underscore
|
Line 198 letters, digits, and the underscore
|
(\(oq_\(cq) |
(\(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 |