summaryrefslogtreecommitdiff
path: root/package/sudo/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-26 23:25:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-26 23:25:20 +0100
commitffc269e9d068dbebf61a9149902fc71bbeba2553 (patch)
tree7d85a7e858fa7aa349b0e19bbecbb7480b892d57 /package/sudo/files
parenta4031fcc0699550076a32ec77e0e81f12aa0325e (diff)
add new package sudo
Diffstat (limited to 'package/sudo/files')
-rw-r--r--package/sudo/files/sudo.postinst3
-rw-r--r--package/sudo/files/sudoers3
2 files changed, 6 insertions, 0 deletions
diff --git a/package/sudo/files/sudo.postinst b/package/sudo/files/sudo.postinst
new file mode 100644
index 000000000..300ea80ef
--- /dev/null
+++ b/package/sudo/files/sudo.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+chmod u+s /usr/bin/sudo
diff --git a/package/sudo/files/sudoers b/package/sudo/files/sudoers
new file mode 100644
index 000000000..9e839c9cb
--- /dev/null
+++ b/package/sudo/files/sudoers
@@ -0,0 +1,3 @@
+## sudoers file.
+root ALL=(ALL) ALL
+%root ALL=(ALL) ALL