DragonFly On-Line Manual Pages

Search: Section:  


VIDOAS(1)              DragonFly 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> DragonFly 6.5-DEVELOPMENT November 9, 2020 DragonFly 6.5-DEVELOPMENT VIDOAS(1) DragonFly 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> DragonFly 6.5-DEVELOPMENT November 9, 2020 DragonFly 6.5-DEVELOPMENT

Search: Section: