Skip site navigation (1)Skip section navigation (2)
Date:      1 Jul 2003 13:39:32 -0000
From:      Howard Owen <hbo@egbok.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53967: [New Port] security/sudoscript
Message-ID:  <20030701133932.35018.qmail@egbok.com>
Resent-Message-ID: <200307011340.h61DeAB5041509@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53967
>Category:       ports
>Synopsis:       [New Port] security/sudoscript
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 01 06:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Howard Owen
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
EGBOK Consultants
>Environment:
System: FreeBSD bigbsd.egbok.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:
42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

>Description:
        sudoscript provides an audited shell using sudo(8) and script(1)
>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       sudoscript
#       sudoscript/pkg-descr
#       sudoscript/distinfo
#       sudoscript/pkg-plist
#       sudoscript/Makefile
#
echo c - sudoscript
mkdir -p sudoscript > /dev/null 2>&1
echo x - sudoscript/pkg-descr
sed 's/^X//' >sudoscript/pkg-descr << 'END-of-sudoscript/pkg-descr'
X'Sudoscript provides an audited shell using sudo(8) and script(1).
XThe front end script, sudoshell(1) contacts the daemon, sudoscriptd(8).
XThey agree on the location of a FIFO, which the daemon opens for read.
XSudoshell then runs scropt(1) with the FIFO as a typescript. The daemon
Xstamps each line of the script(1) outpur with a session id, then passes
Xthe data over to another daemon. This daemon timestamps the data and stores
Xit in a log file, /var/log/sudscript. This daemon also keeps an eye on
Xthe size of the log, and forks a rotator/compressor when it exceeds 2 MiB.
X
XWWW: http://www.egbok.com/sudoscript
X
X- Howard Owen
Xhbo@egbok.com
X'
END-of-sudoscript/pkg-descr
echo x - sudoscript/distinfo
sed 's/^X//' >sudoscript/distinfo << 'END-of-sudoscript/distinfo'
XMD5 (sudoscript-2.1.1.tar.gz) = de1eca15626b3df748bb6df70b793025
END-of-sudoscript/distinfo
echo x - sudoscript/pkg-plist
sed 's/^X//' >sudoscript/pkg-plist << 'END-of-sudoscript/pkg-plist'
Xbin/ss
Xbin/sudoshell
Xetc/rc.d/sudoscriptd.sh
Xlib/sudoscript/Sudoscript.pm
Xsbin/sudoscriptd
Xshare/doc/sudoscript-2.1.1/2.0arch.gif
Xshare/doc/sudoscript-2.1.1/2.0arch.html
Xshare/doc/sudoscript-2.1.1/2.0arch.xml
Xshare/doc/sudoscript-2.1.1/CHANGELOG
Xshare/doc/sudoscript-2.1.1/INSTALL
Xshare/doc/sudoscript-2.1.1/PORCMOLSULB.html
Xshare/doc/sudoscript-2.1.1/PORCMOLSULB.pdf
Xshare/doc/sudoscript-2.1.1/PORCMOLSULB.xml
Xshare/doc/sudoscript-2.1.1/PORTING
Xshare/doc/sudoscript-2.1.1/PROBLEMS
Xshare/doc/sudoscript-2.1.1/README
Xshare/doc/sudoscript-2.1.1/RELEASENOTES
Xshare/doc/sudoscript-2.1.1/SECURITY
Xshare/doc/sudoscript-2.1.1/SUDOCONFIG
Xshare/doc/sudoscript-2.1.1/Sudoscript.3pm.html
Xshare/doc/sudoscript-2.1.1/Sudoscript.pm-src.html
Xshare/doc/sudoscript-2.1.1/dtd/egbokdoc.dtd
Xshare/doc/sudoscript-2.1.1/sudoscript.pod
Xshare/doc/sudoscript-2.1.1/sudoscript.8.html
Xshare/doc/sudoscript-2.1.1/sudoscriptd-src.html
Xshare/doc/sudoscript-2.1.1/sudoscriptd.8.html
Xshare/doc/sudoscript-2.1.1/sudoshell-src.html
Xshare/doc/sudoscript-2.1.1/sudoshell.1.html
Xshare/doc/sudoscript-2.1.1/xsl/egbokdoc.xsl
Xshare/doc/sudoscript-2.1.1/xsl/egbokdoc2fop.xsl
X@dirrm share/doc/sudoscript-2.1.1/xsl
X@dirrm share/doc/sudoscript-2.1.1/dtd
X@dirrm share/doc/sudoscript-2.1.1
END-of-sudoscript/pkg-plist
echo x - sudoscript/Makefile
sed 's/^X//' >sudoscript/Makefile << 'END-of-sudoscript/Makefile'
X# New ports collection makefile for:   sudoscript
X# Date created:        17 June, 2003
X# Whom:                hbo@egbok.com
X# $Id: Makefile-in,v 1.2 2003/06/23 19:25:24 hbo Exp $
X# $FreeBSD$
X#
X
XPORTNAME=      sudoscript
XPORTVERSION=   2.1.1
XCATEGORIES=    security
XMASTER_SITES=  http://download.sourceforge.net/sudoscript/ \
X               http://egbok.com/sudoscript/
X
XMAINTAINER=    hbo@egbok.com
XCOMMENT=       Audited shells with sudo(8) and script(1)
X
XMAN1=          sudoshell.1
XMAN3=          Sudoscript.3pm
XMAN8=          sudoscriptd.8 sudoscript.8
XMANCOMPRESSED= no
X
XUSE_GMAKE=     yes
X.include <bsd.port.mk>
END-of-sudoscript/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701133932.35018.qmail>