From f845045c53a7f30ac3ea792d77e26eaf4b81925e Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Tue, 19 Aug 2025 13:52:41 +0200 Subject: [PATCH] fix sudo setup sudo is actually not functional without the sudoers file itself --- mkosi.extra/usr/lib/tmpfiles.d/etc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkosi.extra/usr/lib/tmpfiles.d/etc.conf b/mkosi.extra/usr/lib/tmpfiles.d/etc.conf index 9ec1e96..8ef4083 100644 --- a/mkosi.extra/usr/lib/tmpfiles.d/etc.conf +++ b/mkosi.extra/usr/lib/tmpfiles.d/etc.conf @@ -7,7 +7,8 @@ L /etc/os-release - - - - ../usr/lib/os-release L+ /etc/mtab - - - - ../proc/self/mounts -# Make sure this directory exists so calamares can write the sudo elevation +# Make sure sudo is set up so the command works and wheel has sudo access. +L /etc/sudoers d /etc/sudoers.d/ 0750 root root - - L /etc/sudoers.d/10-installer