version 1.1.1.2, 2013/07/22 10:46:12
|
version 1.1.1.3, 2013/10/14 07:56:34
|
Line 1
|
Line 1
|
.\" |
.\" |
.\" Copyright (c) 1996,1998-2005, 2007-2012 | .\" Copyright (c) 1996,1998-2005, 2007-2013 |
.\" 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 19
|
Line 19
|
.\" 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. |
.\" |
.\" |
.Dd June 12, 2013 | .Dd August 14, 2013 |
.Dt VISUDO @mansectsu@ |
.Dt VISUDO @mansectsu@ |
.Os Sudo @PACKAGE_VERSION@ |
.Os Sudo @PACKAGE_VERSION@ |
.Sh NAME |
.Sh NAME |
Line 122 the line where the error occurred (if the editor suppo
|
Line 122 the line where the error occurred (if the editor suppo
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Fl |
.Bl -tag -width Fl |
.It Fl c | .It Fl c , -check |
Enable |
Enable |
.Em check-only |
.Em check-only |
mode. |
mode. |
Line 141 will exit with a value of 0.
|
Line 141 will exit with a value of 0.
|
If an error is encountered, |
If an error is encountered, |
.Nm visudo |
.Nm visudo |
will exit with a value of 1. |
will exit with a value of 1. |
.It Fl f Ar sudoers | .It Fl f Ar sudoers , Fl -file Ns No = Ns Ar sudoers |
Specify an alternate |
Specify an alternate |
.Em sudoers |
.Em sudoers |
file location. |
file location. |
With this option | With this option, |
.Nm visudo |
.Nm visudo |
will edit (or check) the |
will edit (or check) the |
.Em sudoers |
.Em sudoers |
Line 166 may be
|
Line 166 may be
|
indicating that |
indicating that |
.Em sudoers |
.Em sudoers |
will be read from the standard input. |
will be read from the standard input. |
.It Fl h | .It Fl h , -help |
The | Display a short help message to the standard output and exit. |
.Fl h No ( Em help Ns No ) | .It Fl q , -quiet |
option causes | |
.Nm visudo | |
to print a short help message | |
to the standard output and exit. | |
.It Fl q | |
Enable |
Enable |
.Em quiet |
.Em quiet |
mode. |
mode. |
Line 182 This option is only useful when combined with
|
Line 177 This option is only useful when combined with
|
the |
the |
.Fl c |
.Fl c |
option. |
option. |
.It Fl s | .It Fl s , -strict |
Enable |
Enable |
.Em strict |
.Em strict |
checking of the |
checking of the |
Line 196 alias and a host name or user name that consists solel
|
Line 191 alias and a host name or user name that consists solel
|
letters, digits, and the underscore |
letters, digits, and the underscore |
.Pq Ql _ |
.Pq Ql _ |
character. |
character. |
.It Fl V | .It Fl V , -version |
The | Print the |
.Fl V ( Em version Ns No ) | |
option causes | |
.Nm visudo |
.Nm visudo |
to print its version number | and |
and exit. | .Em sudoers |
| grammar versions and exit. |
.El |
.El |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
The following environment variables may be consulted depending on |
The following environment variables may be consulted depending on |