summaryrefslogtreecommitdiff
path: root/security/tinysu/files/patch-hier.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-24 21:52:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-24 21:52:50 +0000
commit14ada42ce79d9aa1f748dac2db48ac94833af6af (patch)
treee4b3f200b47200cc268b97e12f4b6e68f306880f /security/tinysu/files/patch-hier.c
parent- Change handrolled patching to usual patch-foo format (diff)
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>
Notes
Notes: svn path=/head/; revision=136071
Diffstat (limited to 'security/tinysu/files/patch-hier.c')
-rw-r--r--security/tinysu/files/patch-hier.c11
1 files changed, 11 insertions, 0 deletions
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);
+ }