From 532e746da530781dbe8073021156f4f1dd8e2cda Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 11 Sep 2024 09:47:57 +0200 Subject: ship a polkit rule... ... to allow running `pacman-offline` without authentication for users of group `wheel`. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0a8ef9f..331ba07 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ It accepts some arguments: * *-t*: start timer for nightly reboot * *-y*: update sync databases +### Elevating privileges + +The privileges are elevated automatically if `polkit` is installed. This works +with no authentication if your user is member of the group `wheel`. To add your +user to that group run: + + usermod --append --groups wheel user + +If your user is not member of that group you will be asked for a password. + ### Timer for preparation You can enable a timer to prepare the offline update automatically. -- cgit v1.2.3-70-g09d2