summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--projectroot/etc/sudoers3
-rw-r--r--rules/sudo.make1
2 files changed, 4 insertions, 0 deletions
diff --git a/projectroot/etc/sudoers b/projectroot/etc/sudoers
index c57a3ef44..b04419c9d 100644
--- a/projectroot/etc/sudoers
+++ b/projectroot/etc/sudoers
@@ -31,3 +31,6 @@ root ALL=(ALL) ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
+
+# include other dedicated settings
+#includedir /etc/sudoers.d
diff --git a/rules/sudo.make b/rules/sudo.make
index 6fedc232a..87ebd2c14 100644
--- a/rules/sudo.make
+++ b/rules/sudo.make
@@ -113,6 +113,7 @@ $(STATEDIR)/sudo.targetinstall:
ifdef PTXCONF_SUDO_INSTALL_ETC_SUDOERS
@$(call install_alternative, sudo, 0, 0, 0440, /etc/sudoers, n)
+ @$(call install_copy, sudo, 0, 0, 755, /etc/sudoers.d)
endif
ifdef PTXCONF_SUDO_INSTALL_VISUDO