summaryrefslogtreecommitdiff
path: root/security/msudir
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-08-27 08:57:32 +0000
committerabs <abs@pkgsrc.org>2002-08-27 08:57:32 +0000
commit082308b3f173ca8689e70660f12bbe607a798be7 (patch)
tree064762664b8bcdb19c6ba5f274a83781b66af957 /security/msudir
parentfab15e1423e8237adc6a174da8a0ef8ce25f3bce (diff)
downloadpkgsrc-082308b3f173ca8689e70660f12bbe607a798be7.tar.gz
Import msudir-0.09
msudir allows enabled users to easily manage 'setuid' scripts and binaries. A directory containing scripts or other executables is created inside the basedir for each destination user. Any user is then able to invoke the script 'bar' in the directory 'fu' via 'msudir fu/bar'. The script will be run under the uid and primary gid of the destination user. Some effort is taken to sanitise the arguments and environment, but msudir should not be used without an understanding of the security implication.
Diffstat (limited to 'security/msudir')
-rw-r--r--security/msudir/DESCR8
-rw-r--r--security/msudir/Makefile14
-rw-r--r--security/msudir/PLIST3
-rw-r--r--security/msudir/distinfo4
4 files changed, 29 insertions, 0 deletions
diff --git a/security/msudir/DESCR b/security/msudir/DESCR
new file mode 100644
index 00000000000..92ba86312a0
--- /dev/null
+++ b/security/msudir/DESCR
@@ -0,0 +1,8 @@
+msudir allows enabled users to easily manage 'setuid' scripts and
+binaries. A directory containing scripts or other executables is
+created inside the basedir for each destination user. Any user is
+then able to invoke the script 'bar' in the directory 'fu' via
+'msudir fu/bar'. The script will be run under the uid and primary
+gid of the destination user. Some effort is taken to sanitise the
+arguments and environment, but msudir should not be used without
+an understanding of the security implication.
diff --git a/security/msudir/Makefile b/security/msudir/Makefile
new file mode 100644
index 00000000000..9a3334871d5
--- /dev/null
+++ b/security/msudir/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/27 08:57:32 abs Exp $
+#
+
+DISTNAME= msudir-0.09
+CATEGORIES= security
+MASTER_SITES= http://www.mono.org/abs/tools/msudir/
+
+MAINTAINER= abs@netbsd.org
+HOMEPAGE= http://www.mono.org/abs/tools/msudir/
+COMMENT= Easy setuid script management
+
+MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/msudir/PLIST b/security/msudir/PLIST
new file mode 100644
index 00000000000..610e17ecd01
--- /dev/null
+++ b/security/msudir/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/27 08:57:32 abs Exp $
+bin/msudir
+man/man8/msudir.8
diff --git a/security/msudir/distinfo b/security/msudir/distinfo
new file mode 100644
index 00000000000..8d6339af4d3
--- /dev/null
+++ b/security/msudir/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/27 08:57:32 abs Exp $
+
+SHA1 (msudir-0.09.tar.gz) = bb38dba52dc8df85f5d8e5905fd961e2e13bd46a
+Size (msudir-0.09.tar.gz) = 4949 bytes