Date: 23 Jul 2002 14:19:10 -0700 From: Ken McGlothlen <mcglk@artlogix.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40935: New ports: shells/scponly-2.3. Message-ID: <86d6tekur5.fsf@ralf.artlogix.com>
next in thread | raw e-mail | index | archive | help
>Number: 40935 >Category: ports >Synopsis: New port: shells/scponly-2.3 (a tiny shell which only permits scp and sftp.) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 23 14:20:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ken McGlothlen >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD ralf.artlogix.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 30 20:12:12 PDT 2002 root@ralf.artlogix.com:/usr/obj/usr/src/sys/RALF i386 >Description: scponly is an alternative 'shell' (of sorts) for sysadmins who want to provide access to remote users to both read and write local files without providing any remote execution priviledges. Functionally, it is best described as a wrapper to the "tried and true" ssh suite of applications. < http://www.sublimation.org/scponly/ > >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: # # scponly # scponly/Makefile # scponly/pkg-comment # scponly/pkg-descr # scponly/pkg-plist # scponly/distinfo # echo c - scponly mkdir -p scponly > /dev/null 2>&1 echo x - scponly/Makefile sed 's/^X//' >scponly/Makefile << 'END-of-scponly/Makefile' X# New port makefile for scponly (non-chrooted version) X# Created 2002/07/22 by mcglk@artlogix.com for scponly-2.2. X# Modified 2002/07/23 by mcglk@artlogix.com for scponly-2.3. X# X# $FreeBSD$ X# X XPORTNAME= scponly XPORTVERSION= 2.3 XCATEGORIES= shells XMASTER_SITES= http://www.sublimation.org/scponly/ XEXTRACT_SUFX= .tgz X XMAINTAINER= mcglk@artlogix.com X Xpost-install: X strip ${PREFIX}/sbin/scponly X X.include <bsd.port.mk> END-of-scponly/Makefile echo x - scponly/pkg-comment sed 's/^X//' >scponly/pkg-comment << 'END-of-scponly/pkg-comment' XA tiny shell which only permits scp and sftp. END-of-scponly/pkg-comment echo x - scponly/pkg-descr sed 's/^X//' >scponly/pkg-descr << 'END-of-scponly/pkg-descr' X[From the README:] "scponly" is an alternative 'shell' (of sorts) for system Xadministrators who would like to provide access to remote users to both read Xand write local files without providing any remote execution priviledges. XFunctionally, it is best described as a wrapper to the "tried and true" ssh Xsuite of applications. X Xscponly validates remote requests by examining the third argument passed to the Xshell upon login. (The first argument is the shell itself, and the second is X-c.) The only commands allowed are "scp" (for ssh1), "sftp-server" (for ssh2") Xand "ls". Arguments to these commands are passed along unmolested. X XWWW: http://www.sublimation.org/scponly/ X X---Ken McGlothlen (mcglk@artlogix.com) END-of-scponly/pkg-descr echo x - scponly/pkg-plist sed 's/^X//' >scponly/pkg-plist << 'END-of-scponly/pkg-plist' Xsbin/scponly Xman/man8/scponly.8 END-of-scponly/pkg-plist echo x - scponly/distinfo sed 's/^X//' >scponly/distinfo << 'END-of-scponly/distinfo' XMD5 (scponly-2.3.tgz) = 2c3f88b269ea5739c5897ab6c5d5ccba END-of-scponly/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d6tekur5.fsf>