From 17616c16865b14c51e3d9efdf3154d03b7c2a3d1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 14 Nov 2022 22:09:19 +0100 Subject: Only use doasedit(8) if we are root --- vidoas.8 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vidoas.8') diff --git a/vidoas.8 b/vidoas.8 index 56a0734..d5b0d30 100644 --- a/vidoas.8 +++ b/vidoas.8 @@ -33,6 +33,15 @@ utility opens an editor on a temporary copy of the .Xr 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 +.Xr doasedit 8 , +otherwise the editor is either +.Ev VISUAL , +.Ev EDITOR , +or +.Xr vi 1 +in that order. .Pp The options are as follows: .Bl -tag -width Ds -- cgit v1.2.3