VIDOAS(8) System Manager's Manual VIDOAS(8)

vidoasedit the doas configuration file

vidoas [-n] [file]

The vidoas utility opens an editor on a temporary copy of the doas(1) configuration file and checks it for syntax errors before installing it as the actual configuration file. If edited the doas configuration file requires root permissions, it is opened using doasedit(8), otherwise the editor is either VISUAL, EDITOR, or vi(1) in that order.

The options are as follows:

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.

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

The editor to use to edit the target text file. If the VISUAL variable is not set, then EDTIOR is used as a fallback.
The editor to use to edit the target text file if VISUAL is not set. If the EDITOR variable is not set, then the command vi(1) is used.

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

doas(1), vi(1), doas.conf(5), doasedit(8)

The vidoas utility was originally written by Kimmo Suominen <kim@netbsd.org> and the manual page was originally written by Jesse Smith <jessefrgsmith@yahoo.ca>, but both are now maintained by Thomas Voss <mail@thomasvoss.com>.

November 14, 2022 Void Linux