version 1.1.1.5, 2013/10/14 07:56:34
|
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-2013 | .\" 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@" "August 14, 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 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 157 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. |
Line 194 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\--version\fR |
\fB\-V\fR, \fB\--version\fR |
Line 203 Print the
|
Line 204 Print the
|
and |
and |
\fIsudoers\fR |
\fIsudoers\fR |
grammar versions and exit. |
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 249 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 311 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. |