From dfd9a7a29863590b466741c5b48b7b2397bfe3a6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 27 Dec 2018 16:05:13 -0800 Subject: [PATCH] sudoers: Allow all admin users to become superusers - Migrated settings from freedombox-setup. Reviewed-by: James Valleroy --- data/etc/sudoers.d/plinth | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data/etc/sudoers.d/plinth b/data/etc/sudoers.d/plinth index aaefc5e62..473da750a 100644 --- a/data/etc/sudoers.d/plinth +++ b/data/etc/sudoers.d/plinth @@ -1 +1,11 @@ +# +# Allow plinth user to run plinth action scripts with superuser privileges +# without needing a password. +# plinth ALL=(ALL:ALL) NOPASSWD:/usr/share/plinth/actions/* + +# +# On FreedomBox, allow all users in the 'admin' LDAP group to execute +# commands as root. +# +%admin ALL=(root) ALL