Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VIDOAS(8)		     System Manager's Manual		       VIDOAS(8)

NAME
     vidoas -- edit a doas configuration file

SYNOPSIS
     vidoas [-n] [file]
     vidoas -h

DESCRIPTION
     The vidoas utility opens an editor on a temporary copy of a doas(1) config-
     uration  file  and  checks it for syntax errors before installing it as the
     actual configuration file.

     The options are as follows:

     -h      Show a usage message.

     -n      Do not edit the file, just perform prerequisite  checks.	If  this
	     switch is repeated, all output will be suppressed and the check re-
	     sult is only indicated by the exit status.

EXIT STATUS
     The vidoas utility exits 0 on success, and >0 if an error occurs.

ENVIRONMENT
     EDITOR  The editor command used for editing the configuration file.  If the
	     EDITOR  environment  variable  is null or not set, the vi(1) editor
	     program will be used.

FILES
     /usr/local/etc/doas.conf
	     The default configuration file to edit, when no  file  argument  is
	     specified.

SEE ALSO
     doas(1), doas.conf(5)

AUTHORS
     Kimmo Suominen <kim@netbsd.org>

FreeBSD ports 15.quarterly	November 9, 2020		       VIDOAS(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=vidoas&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help