summaryrefslogtreecommitdiff
path: root/packages/sudo
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-14 21:38:54 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-14 21:38:54 +0000
commita9770ead426e861ab5db9a4eb4df65296a00212a (patch)
treefd8776d046283a8c1cca88358e67fe416c70f03f /packages/sudo
parent679590f93844a86c5611033841923a4e0964b742 (diff)
Fix sudoers permission
Diffstat (limited to 'packages/sudo')
-rw-r--r--packages/sudo/sudo.inc4
-rw-r--r--packages/sudo/sudo_1.6.8p8.bb2
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/sudo/sudo.inc b/packages/sudo/sudo.inc
index 279d1e61ee..7251bcdb4a 100644
--- a/packages/sudo/sudo.inc
+++ b/packages/sudo/sudo.inc
@@ -18,3 +18,7 @@ do_configure_prepend () {
cat aclocal.m4 > acinclude.m4
fi
}
+
+pkg_postinst() {
+ chmod 0440 ${sysconfdir}/sudoers
+}
diff --git a/packages/sudo/sudo_1.6.8p8.bb b/packages/sudo/sudo_1.6.8p8.bb
index 087bcee541..cc8ae4081c 100644
--- a/packages/sudo/sudo_1.6.8p8.bb
+++ b/packages/sudo/sudo_1.6.8p8.bb
@@ -5,4 +5,4 @@ SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
file://noexec-link.patch;patch=1"
include sudo.inc
-PR = "r3"
+PR = "r4"