From e47f2f6d91c2df514ef42cbec237beb18011c1f8 Mon Sep 17 00:00:00 2001 From: AluminumTank Date: Wed, 3 Feb 2021 16:32:27 -0500 Subject: [PATCH] update readme with due warning for using the script --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3b1c61d..4997cfb 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ a Bash script replacement for sudoedit using doas. [Inspired by this Reddit comment.](https://www.reddit.com/r/linux/comments/l6y7nv/is_doas_a_good_alternative_to_sudo/gl4hs42?utm_source=share&utm_medium=web2x&context=3) +##USE AT YOUR OWN RISK! THIS SCRIPT IS VERY ALPHA. +I've already accidentally deleted a configuration file because of a hole in the +script. That hole has obviously been fixed since then, along with the addition +of several other safety measures, but do know that this script (and most other +scripts like it) is doing something very different from how a file is normally +edited in-place. It creates a temporary copy and then overwrites the original +file at the end. + ## doas.conf You'll want to configure `doas` such that it doesn't ask for password at every