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:
parent
c543aaf9e5
commit
c2dc26bcc2
5 changed files with 41 additions and 0 deletions
13
security/priv/Makefile
Normal file
13
security/priv/Makefile
Normal 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
3
security/priv/files/md5
Normal 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
|
1
security/priv/pkg/COMMENT
Normal file
1
security/priv/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
execute commands as a different user
|
20
security/priv/pkg/DESCR
Normal file
20
security/priv/pkg/DESCR
Normal 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
4
security/priv/pkg/PLIST
Normal 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
|
Loading…
Reference in a new issue