--- /dev/null
+INSTALL = /usr/bin/install -c
+srcdir = .
+
+build:
+# no-op
+
+install:
+ $(INSTALL) -d $(DESTDIR)/usr/bin
+ $(INSTALL) -m 0755 $(srcdir)/bin/rksu $(DESTDIR)/usr/bin/rksu
+
+.PHONY: install
--- /dev/null
+#!/bin/sh
+
+execargs=''
+ADMINPATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
+if [ -n "$2" ]; then
+ execargs="-a -c '$2'"
+fi
+
+ssh -oGSSAPIDelegateCredentials=yes -t $1 PATH=$ADMINPATH ksu -z $execargs
--- /dev/null
+The Debian Package mh-sysadmin-tools
+----------------------------
+
+This package contains various useful sysadmin-related utilities. Some of them
+may have been inspired by OUCS Sysdev.
+
+ -- Michael Howe <michael@michaelhowe.org> Fri, 27 Jan 2012 20:35:48 +0000
--- /dev/null
+mh-sysadmin-tools (1.0) unstable; urgency=low
+
+ * Initial Release.
+ * Contains the shell script rksu (idea stolen from sysdev)
+
+ -- Michael Howe <michael@michaelhowe.org> Fri, 27 Jan 2012 21:05:44 +0000
--- /dev/null
+Source: mh-sysadmin-tools
+Section: admin
+Priority: optional
+Maintainer: Michael Howe <michael@michaelhowe.org>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+#Vcs-Git: git://git.debian.org/collab-maint/mh-sysadmin-tools.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/mh-sysadmin-tools.git;a=summary
+
+Package: mh-sysadmin-tools
+Architecture: all
+Depends: ${misc:Depends}, krb5-user
+Description: General sysadmin tools as used on the michaelhowe.org systems
+ This package contains simple scripts that are used for sysadmin work on
+ michaelhowe.org systems.
--- /dev/null
+This work was written and packaged by:
+
+ Michael Howe <michael@michaelhowe.org> on Fri, 27 Jan 2012 20:35:48 +0000
+
+Copyright:
+
+ <Copyright (C) 2012 Michael Howe>
+
+License:
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+The Debian packaging is:
+
+ Copyright (C) 2012 Michael Howe <michael@michaelhowe.org>
+
+and is licensed under the GPL version 3, see above.
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
--- /dev/null
+3.0 (native)