summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-09-11 09:47:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-09-11 10:15:27 +0200
commit532e746da530781dbe8073021156f4f1dd8e2cda (patch)
tree891728f84dd5c3865632c38f1c6fdb063e6f2721 /README.md
parent3d2aaec9a604282bf0e561df6e676277dd079c7f (diff)
downloadpacman-offline-532e746da530781dbe8073021156f4f1dd8e2cda.tar.gz
pacman-offline-532e746da530781dbe8073021156f4f1dd8e2cda.tar.zst
ship a polkit rule...
... to allow running `pacman-offline` without authentication for users of group `wheel`.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
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.