From c2dc26bcc2653d7c6944e7c40d939fb7043d351b Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 14 Jul 2000 10:53:26 +0000 Subject: Initial import of priv-1.0-beta, a utility to execute commands as a different user, into the NetBSD packages collection. --- security/priv/Makefile | 13 +++++++++++++ security/priv/files/md5 | 3 +++ security/priv/pkg/COMMENT | 1 + security/priv/pkg/DESCR | 20 ++++++++++++++++++++ security/priv/pkg/PLIST | 4 ++++ 5 files changed, 41 insertions(+) create mode 100644 security/priv/Makefile create mode 100644 security/priv/files/md5 create mode 100644 security/priv/pkg/COMMENT create mode 100644 security/priv/pkg/DESCR create mode 100644 security/priv/pkg/PLIST (limited to 'security') diff --git a/security/priv/Makefile b/security/priv/Makefile new file mode 100644 index 00000000000..cebdbe890f9 --- /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 00000000000..5e9106f231c --- /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 00000000000..deaa0fd2113 --- /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 00000000000..e93a0b93c0b --- /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 00000000000..246282865ec --- /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 -- cgit v1.2.3