diff --git a/security/priv/Makefile b/security/priv/Makefile new file mode 100644 index 000000000000..cebdbe890f9e --- /dev/null +++ b/security/priv/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/07/14 10:53:26 agc Exp $ +# + +DISTNAME= priv-1.0-beta +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= packages@netbsd.org +#HOMEPAGE= + +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/security/priv/files/md5 b/security/priv/files/md5 new file mode 100644 index 000000000000..5e9106f231c4 --- /dev/null +++ b/security/priv/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/07/14 10:53:26 agc Exp $ + +MD5 (priv-1.0-beta.tar.gz) = 4760081c78e0da77a223bfa7c52b5f64 diff --git a/security/priv/pkg/COMMENT b/security/priv/pkg/COMMENT new file mode 100644 index 000000000000..deaa0fd21139 --- /dev/null +++ b/security/priv/pkg/COMMENT @@ -0,0 +1 @@ +execute commands as a different user diff --git a/security/priv/pkg/DESCR b/security/priv/pkg/DESCR new file mode 100644 index 000000000000..e93a0b93c0b1 --- /dev/null +++ b/security/priv/pkg/DESCR @@ -0,0 +1,20 @@ +priv allows authorised users to execute commands that run as different +users. + +When priv is invoked, it reads a list of authorised commands from a +database file called + + ${PREFIX}/etc/priv/ + +Each line of the database file is a colon-seperated list of fields. +The first two fields must be specified. Blank lines or lines +beginning with a ``#'' character are ignored. The fields, in order, +are: + + expiry date + user name to run command as + flags + command name + +The format of the expiry date is YYYYMMDDhhmm. A date of ``0'' is +interpreted as no expiry date. diff --git a/security/priv/pkg/PLIST b/security/priv/pkg/PLIST new file mode 100644 index 000000000000..246282865ec0 --- /dev/null +++ b/security/priv/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/14 10:53:26 agc Exp $ +bin/priv +man/man1/priv.1 +@dirrm etc/priv