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

FreeBSD Manual Pages

  
 
  

home | help
VIDOAS(1)		    General Commands Manual		     VIDOAS(1)

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)
       configuration 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 result 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 14.quarterly     November	9, 2020			     VIDOAS(1)

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

home | help