From c7d0fa4e09dc5aec7f0ad2a61a791fdeab37fa82 Mon Sep 17 00:00:00 2001 From: abs Date: Tue, 27 Aug 2002 08:57:32 +0000 Subject: 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. --- security/msudir/DESCR | 8 ++++++++ security/msudir/Makefile | 14 ++++++++++++++ security/msudir/PLIST | 3 +++ security/msudir/distinfo | 4 ++++ 4 files changed, 29 insertions(+) create mode 100644 security/msudir/DESCR create mode 100644 security/msudir/Makefile create mode 100644 security/msudir/PLIST create mode 100644 security/msudir/distinfo (limited to 'security/msudir') 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 -- cgit v1.2.3