mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
actions: Drop sudo based privileged actions
Tests: - /usr/share/plinth/actions/actions is not installed. - Code check works on plinth directory and container script only - Provisioning a container does not add sudo configuration for actions. 'fbx' user can perform 'sudo' operations. - Make install does not install actions based sudo configuration. Admin users can perform sudo operations. - Exporting backup archive works. Validating a transmission directory works. Some of the privileged operations works. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
1 parent
a580437de2
commit
7b2acf247e
5 files changed
+9
-225
No files matched your search
@@ -1,11 +1,3 @@
|
||||
#
|
||||
# Allow plinth user to run plinth action scripts with superuser privileges
|
||||
# without needing a password.
|
||||
#
|
||||
Cmnd_Alias FREEDOMBOX_ACTION = /usr/share/plinth/actions/actions
|
||||
Defaults!FREEDOMBOX_ACTION closefrom_override
|
||||
plinth ALL=(ALL:ALL) NOPASSWD:FREEDOMBOX_ACTION
|
||||
|
||||
#
|
||||
# On FreedomBox, allow all users in the 'admin' LDAP group to execute
|
||||
# commands as root.
|
||||
|
||||
Reference in new issue
Block a user