From b829faf658196b330a456fe34bc63ec731e3b93a Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Tue, 11 Nov 2025 17:36:55 +0000 Subject: [PATCH] Edit README --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5b76fb..bf81a12 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,15 @@ filename.ext.orig.20251110T174400.bak ## Installation -**NOTE**: To use mirro with sudo, the path to mirro must be in the $PATH seen by root. -Either install mirro as root (preferred), use sudo -E mirro, or add the $PATH to /etc/sudoers using its Defaults secure_path parameter. +**NOTE:** To use `mirro` with `sudo`, the path to `mirro` must be in the `$PATH` seen by `root`.\ +Either: + + * install `mirro` as `root` (_preferred_), or + * add the path to `mirro` to the `secure_path` parameter in `/etc/sudoers`. For example, where `/home/user/.local/bin` is where `mirro` is: + +``` bash +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/user/.local/bin" +``` Install via PyPI (preferred): ```