From ea54e25bba9d8fd14b4ea1481557ef1a63e5acd4 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 20 May 2026 19:27:49 -0400 Subject: [PATCH] Tighten omarchy-tzupdate sudoers to set-timezone subcommand only Mirrors the upstream tightening in install/config/timezones.sh (which this etc-overrides file replaced): scope the wheel passwordless rule to 'timedatectl set-timezone *' instead of the whole timedatectl, so the rule can't be used to flip other system clock settings. Adopted while rebasing onto current origin/omarchy-shell. --- etc/sudoers.d/omarchy-tzupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sudoers.d/omarchy-tzupdate b/etc/sudoers.d/omarchy-tzupdate index 61e43d8b..913fa174 100644 --- a/etc/sudoers.d/omarchy-tzupdate +++ b/etc/sudoers.d/omarchy-tzupdate @@ -1 +1 @@ -%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl +%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl set-timezone *