diff options
author | agc <agc@pkgsrc.org> | 2000-07-14 10:53:26 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-14 10:53:26 +0000 |
commit | c2dc26bcc2653d7c6944e7c40d939fb7043d351b (patch) | |
tree | 177c5e582e13592ed945a9772c0a5e8c426e2dce /security/priv | |
parent | c543aaf9e5122c2284945b54380247e0d6e12d8a (diff) | |
download | pkgsrc-c2dc26bcc2653d7c6944e7c40d939fb7043d351b.tar.gz |
Initial import of priv-1.0-beta, a utility to execute commands as a
different user, into the NetBSD packages collection.
Diffstat (limited to 'security/priv')
-rw-r--r-- | security/priv/Makefile | 13 | ||||
-rw-r--r-- | security/priv/files/md5 | 3 | ||||
-rw-r--r-- | security/priv/pkg/COMMENT | 1 | ||||
-rw-r--r-- | security/priv/pkg/DESCR | 20 | ||||
-rw-r--r-- | security/priv/pkg/PLIST | 4 |
5 files changed, 41 insertions, 0 deletions
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/<username> + +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 |