From c7563879af5887545ebafc5ccac287c5a43d4721 Mon Sep 17 00:00:00 2001 From: Sohrab Behdani Date: Sun, 30 Jun 2024 19:30:03 +0000 Subject: [PATCH] fixed gnome sudo --- iso/airootfs/etc/gshadow | 1 + iso/airootfs/etc/sudoers.d/g_wheel | 2 +- iso/airootfs/etc/sudoers.d/wheel | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 iso/airootfs/etc/sudoers.d/wheel diff --git a/iso/airootfs/etc/gshadow b/iso/airootfs/etc/gshadow index 8bf2275..2106a54 100644 --- a/iso/airootfs/etc/gshadow +++ b/iso/airootfs/etc/gshadow @@ -3,6 +3,7 @@ sys:!!::liveuser network:!!::liveuser power:!!::liveuser adm:!!::liveuser +sudo:!!::liveuser wheel:!!::liveuser uucp:!!::liveuser optical:!!::liveuser diff --git a/iso/airootfs/etc/sudoers.d/g_wheel b/iso/airootfs/etc/sudoers.d/g_wheel index 7c499c2..b835421 100644 --- a/iso/airootfs/etc/sudoers.d/g_wheel +++ b/iso/airootfs/etc/sudoers.d/g_wheel @@ -1 +1 @@ -%wheel ALL=(ALL) NOPASSWD: ALL +%sudo ALL=(ALL) NOPASSWD: ALL diff --git a/iso/airootfs/etc/sudoers.d/wheel b/iso/airootfs/etc/sudoers.d/wheel new file mode 100644 index 0000000..eed2346 --- /dev/null +++ b/iso/airootfs/etc/sudoers.d/wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL) ALL