Initial import of sudoscript 2.1.1.

Package provided by Howard Owen <hbo@egbok.com> via PR pkg/21973.

Sudoscript provides an audited shell using sudo(8) and script(1).
The front end script, sudoshell(1) contacts the daemon, sudoscriptd(8).
They agree on the location of a FIFO, which the daemon opens for read.
Sudoshell then runs scropt(1) with the FIFO as a typescript. The daemon
stamps each line of the script(1) outpur with a session id, then passes
the data over to another daemon. This daemon timestamps the data and stores 
it in a log file, /var/log/sudscript. This daemon also keeps an eye on
the size of the log, and forks a rotator/compressor when it exceeds 2 MiB.

WWW: http://www.egbok.com/sudoscript

- Howard Owen
hbo@egbok.com
This commit is contained in:
Juan Romero Pardines 2003-09-17 18:18:48 +00:00
parent 3af80b05b0
commit cae9bb7592
5 changed files with 100 additions and 0 deletions

14
sudoscript/DESCR Normal file
View file

@ -0,0 +1,14 @@
'Sudoscript provides an audited shell using sudo(8) and script(1).
The front end script, sudoshell(1) contacts the daemon, sudoscriptd(8).
They agree on the location of a FIFO, which the daemon opens for read.
Sudoshell then runs scropt(1) with the FIFO as a typescript. The daemon
stamps each line of the script(1) outpur with a session id, then passes
the data over to another daemon. This daemon timestamps the data and stores
it in a log file, /var/log/sudscript. This daemon also keeps an eye on
the size of the log, and forks a rotator/compressor when it exceeds 2 MiB.
WWW: http://www.egbok.com/sudoscript
- Howard Owen
hbo@egbok.com
'

13
sudoscript/MESSAGE Normal file
View file

@ -0,0 +1,13 @@
To arrange for sudoscriptd to start at boot time, do
the following as root:
cp ${PREFIX}/etc/rc.d/sudoscriptd /etc/rc.d
and edit /etc/rc.conf so that it contains the following line:
sudoscriptd=YES
Please check ${PREFIX}/share/doc/${DISTNAME}/RELEASENOTES
for important information regarding this release of sudoscript.

29
sudoscript/Makefile Normal file
View file

@ -0,0 +1,29 @@
# New ports collection makefile for: sudoscript
# Date created: 17 June, 2003
# Whom: hbo
# $Id: Makefile,v 1.1.1.1 2003/09/17 18:18:49 xtraeme Exp $
# $OpenBSD$
COMMENT= "Audited shells with sudo(8) and script(1)"
DISTNAME= sudoscript-2.1.1
CATEGORIES= security
MAINTAINER= hbo@egbok.com
HOMEPAGE= http://www.egbok.com/sudoscript
MESSAGE_SUBST+= DISTNAME=${DISTNAME}
MESSAGE_SUBST+= PREFIX=${PREFIX}
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sudoscript/} \
http://egbok.com/sudoscript
NO_BUILD= Yes
NO_REGRESS= Yes
USE_GMAKE= Yes
.include "../../mk/bsd.pkg.mk"

40
sudoscript/PLIST Normal file
View file

@ -0,0 +1,40 @@
@comment <$>NetBSD<$>
bin/ss
bin/sudoshell
etc/rc.d/sudoscriptd
lib/sudoscript/Sudoscript.pm
man/man1/ss.1
man/man1/sudoshell.1
man/man3/Sudoscript.3pm
man/man8/sudoscript.8
man/man8/sudoscriptd.8
sbin/sudoscriptd
share/doc/sudoscript-2.1.1/2.0arch.gif
share/doc/sudoscript-2.1.1/2.0arch.html
share/doc/sudoscript-2.1.1/2.0arch.xml
share/doc/sudoscript-2.1.1/CHANGELOG
share/doc/sudoscript-2.1.1/INSTALL
share/doc/sudoscript-2.1.1/PORCMOLSULB.html
share/doc/sudoscript-2.1.1/PORCMOLSULB.pdf
share/doc/sudoscript-2.1.1/PORCMOLSULB.xml
share/doc/sudoscript-2.1.1/PORTING
share/doc/sudoscript-2.1.1/PROBLEMS
share/doc/sudoscript-2.1.1/README
share/doc/sudoscript-2.1.1/RELEASENOTES
share/doc/sudoscript-2.1.1/SECURITY
share/doc/sudoscript-2.1.1/SUDOCONFIG
share/doc/sudoscript-2.1.1/Sudoscript.3pm.html
share/doc/sudoscript-2.1.1/Sudoscript.pm-src.html
share/doc/sudoscript-2.1.1/dtd/egbokdoc.dtd
share/doc/sudoscript-2.1.1/sudoscript.8.html
share/doc/sudoscript-2.1.1/sudoscript.pod
share/doc/sudoscript-2.1.1/sudoscriptd-src.html
share/doc/sudoscript-2.1.1/sudoscriptd.8.html
share/doc/sudoscript-2.1.1/sudoshell-src.html
share/doc/sudoscript-2.1.1/sudoshell.1.html
share/doc/sudoscript-2.1.1/xsl/egbokdoc.xsl
share/doc/sudoscript-2.1.1/xsl/egbokdoc2fop.xsl
@dirrm share/doc/sudoscript-2.1.1/xsl
@dirrm share/doc/sudoscript-2.1.1/dtd
@dirrm share/doc/sudoscript-2.1.1
@dirrm lib/sudoscript

4
sudoscript/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2003/09/17 18:18:48 xtraeme Exp $
SHA1 (sudoscript-2.1.1.tar.gz) = 20e5d846ae1b3e8f7f855bb2b1e0bffa45760e8f
Size (sudoscript-2.1.1.tar.gz) = 336096 bytes