Initial import of priv-1.0-beta, a utility to execute commands as a

different user, into the NetBSD packages collection.
This commit is contained in:
agc 2000-07-14 10:53:26 +00:00
parent c543aaf9e5
commit c2dc26bcc2
5 changed files with 41 additions and 0 deletions

13
security/priv/Makefile Normal file
View file

@ -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"

3
security/priv/files/md5 Normal file
View file

@ -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

View file

@ -0,0 +1 @@
execute commands as a different user

20
security/priv/pkg/DESCR Normal file
View file

@ -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.

4
security/priv/pkg/PLIST Normal file
View file

@ -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