Diff for /embedaddon/sudo/doc/visudo.mdoc.in between versions 1.1.1.2 and 1.1.1.4

version 1.1.1.2, 2013/07/22 10:46:12 version 1.1.1.4, 2014/06/15 16:12:54
Line 1 Line 1
 .\"  .\"
.\" 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 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 February 15, 2014
 .Dt VISUDO @mansectsu@  .Dt VISUDO @mansectsu@
 .Os Sudo @PACKAGE_VERSION@  .Os Sudo @PACKAGE_VERSION@
 .Sh NAME  .Sh NAME
Line 28 Line 28
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm visudo  .Nm visudo
 .Op Fl chqsV  .Op Fl chqsV
 .Bk -words  
 .Op Fl f Ar sudoers  .Op Fl f Ar sudoers
.Ek.Op Fl x Ar file
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm visudo  .Nm visudo
 edits the  edits the
Line 122  the line where the error occurred (if the editor suppo Line 121  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 140  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 = Ns Ar sudoers
 Specify an alternate  Specify an alternate
 .Em sudoers  .Em sudoers
 file location.  file location.
With this optionWith 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 165  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
TheDisplay 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 176  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 190  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
ThePrint the
.Fl V ( Em version Ns No ) 
option causes 
 .Nm visudo  .Nm visudo
to print its version numberand
and exit..Em sudoers
 grammar versions and exit.
 .It Fl x Ar file , Fl -export Ns = Ns Ar file
 Export
 .Em sudoers
 in JSON format and write it to
 .Ar file .
 If
 .Ar file
 is
 .Ql - ,
 the exported
 .Em sudoers
 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
 .Em sudoers
 format.
 The various values have explicit types which removes much of the
 ambiguity of the
 .Em sudoers
 format.
 .El  .El
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 The following environment variables may be consulted depending on  The following environment variables may be consulted depending on

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>