From ab08391a42cb9a8e0d9023525f60f73ef848d17e Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Thu, 18 Mar 2010 13:56:03 -0700 Subject: Moved the various administrative scripts into Debian packaging. --- usr/src/pinyadmin/bin/addaccess | 2 ++ usr/src/pinyadmin/bin/createuser | 1 + usr/src/pinyadmin/bin/newrepo | 2 ++ usr/src/pinyadmin/bin/newuser | 2 ++ usr/src/pinyadmin/bin/pinyshell | 5 +++++ usr/src/pinyadmin/bin/rmaccess | 2 ++ usr/src/pinyadmin/bin/rmrepo | 2 ++ 7 files changed, 16 insertions(+) create mode 100755 usr/src/pinyadmin/bin/addaccess create mode 120000 usr/src/pinyadmin/bin/createuser create mode 100755 usr/src/pinyadmin/bin/newrepo create mode 100755 usr/src/pinyadmin/bin/newuser create mode 100755 usr/src/pinyadmin/bin/pinyshell create mode 100755 usr/src/pinyadmin/bin/rmaccess create mode 100755 usr/src/pinyadmin/bin/rmrepo (limited to 'usr/src/pinyadmin/bin') diff --git a/usr/src/pinyadmin/bin/addaccess b/usr/src/pinyadmin/bin/addaccess new file mode 100755 index 0000000..6f734f6 --- /dev/null +++ b/usr/src/pinyadmin/bin/addaccess @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/addaccess "$@" diff --git a/usr/src/pinyadmin/bin/createuser b/usr/src/pinyadmin/bin/createuser new file mode 120000 index 0000000..e9d7937 --- /dev/null +++ b/usr/src/pinyadmin/bin/createuser @@ -0,0 +1 @@ +newuser \ No newline at end of file diff --git a/usr/src/pinyadmin/bin/newrepo b/usr/src/pinyadmin/bin/newrepo new file mode 100755 index 0000000..05ce120 --- /dev/null +++ b/usr/src/pinyadmin/bin/newrepo @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/newrepo "$@" diff --git a/usr/src/pinyadmin/bin/newuser b/usr/src/pinyadmin/bin/newuser new file mode 100755 index 0000000..841b47d --- /dev/null +++ b/usr/src/pinyadmin/bin/newuser @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/newuser diff --git a/usr/src/pinyadmin/bin/pinyshell b/usr/src/pinyadmin/bin/pinyshell new file mode 100755 index 0000000..0db88a8 --- /dev/null +++ b/usr/src/pinyadmin/bin/pinyshell @@ -0,0 +1,5 @@ +#!/bin/sh +cd /srv/rbin +export PATH=/srv/rbin + +exec /bin/rbash "$@" diff --git a/usr/src/pinyadmin/bin/rmaccess b/usr/src/pinyadmin/bin/rmaccess new file mode 100755 index 0000000..6c40690 --- /dev/null +++ b/usr/src/pinyadmin/bin/rmaccess @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/rmaccess "$@" diff --git a/usr/src/pinyadmin/bin/rmrepo b/usr/src/pinyadmin/bin/rmrepo new file mode 100755 index 0000000..53bf029 --- /dev/null +++ b/usr/src/pinyadmin/bin/rmrepo @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/rmrepo "$@" -- cgit v1.2.3