diff options
author | pav <pav@FreeBSD.org> | 2005-05-25 05:52:50 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-25 05:52:50 +0800 |
commit | 2f0b141d540e7e8422267f576b648c8b43cfb852 (patch) | |
tree | e4213de405eadf9c0cc7a6134566b2d32f27c564 /security/tinysu | |
parent | 2b39551932876838cca6a59335799ad0c5e5d868 (diff) | |
download | freebsd-ports-gnome-2f0b141d540e7e8422267f576b648c8b43cfb852.tar.gz freebsd-ports-gnome-2f0b141d540e7e8422267f576b648c8b43cfb852.tar.zst freebsd-ports-gnome-2f0b141d540e7e8422267f576b648c8b43cfb852.zip |
This is a port of tinysu, a featureless replacement for su and sudo. tinysu is
installed setuid root and executable by members of a particular group. It is
intended to be used in situations where an unprivileged user is being granted
full root access, but wants the convenience of a sudo-style log.
PR: ports/80752
Submitted by: Zak Johnson <zakj@nox.cx>
Diffstat (limited to 'security/tinysu')
-rw-r--r-- | security/tinysu/Makefile | 21 | ||||
-rw-r--r-- | security/tinysu/distinfo | 2 | ||||
-rw-r--r-- | security/tinysu/files/patch-hier.c | 11 | ||||
-rw-r--r-- | security/tinysu/pkg-descr | 6 |
4 files changed, 40 insertions, 0 deletions
diff --git a/security/tinysu/Makefile b/security/tinysu/Makefile new file mode 100644 index 000000000000..a015952bac6e --- /dev/null +++ b/security/tinysu/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: tinysu +# Date created: 5 May 2005 +# Whom: zakj@nox.cx +# +# $FreeBSD$ +# + +PORTNAME= tinysu +PORTVERSION= 0.9 +CATEGORIES= security +MASTER_SITES= http://peff.net/tinysu/ + +MAINTAINER= zakj@nox.cx +COMMENT= A featureless replacement for su and sudo + +PLIST_FILES= bin/tinysu + +ALL_TARGET= it +INSTALL_TARGET= setup check + +.include <bsd.port.mk> diff --git a/security/tinysu/distinfo b/security/tinysu/distinfo new file mode 100644 index 000000000000..7b28618e24fc --- /dev/null +++ b/security/tinysu/distinfo @@ -0,0 +1,2 @@ +MD5 (tinysu-0.9.tar.gz) = c4d84f386dc10928babe103d4db253c9 +SIZE (tinysu-0.9.tar.gz) = 17613 diff --git a/security/tinysu/files/patch-hier.c b/security/tinysu/files/patch-hier.c new file mode 100644 index 000000000000..105401494cec --- /dev/null +++ b/security/tinysu/files/patch-hier.c @@ -0,0 +1,11 @@ +--- hier.c.orig Sun Feb 29 03:21:15 2004 ++++ hier.c Tue May 24 23:42:06 2005 +@@ -4,8 +4,5 @@ + + void hier() + { +- h(auto_home,-1,-1,02755); +- d(auto_home,"bin",-1,-1,02755); +- + c(auto_home,"bin","tinysu",auto_uid,auto_gid,04750); + } diff --git a/security/tinysu/pkg-descr b/security/tinysu/pkg-descr new file mode 100644 index 000000000000..5be7ae0d33c2 --- /dev/null +++ b/security/tinysu/pkg-descr @@ -0,0 +1,6 @@ +tinysu is a featureless replacement for su and sudo. tinysu is installed +setuid root and executable by members of a particular group. It is intended to +be used in situations where an unprivileged user is being granted full root +access, but wants the convenience of a sudo-style log. + +WWW: http://peff.net/tinysu/ |