From 29355a1653a12742928ce563e4c077a77f67c9f9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 Sep 2009 04:26:13 -0700 Subject: Import of unversioned piny code. --- usr/local/bin/addaccess | 2 ++ usr/local/bin/createuser | 1 + usr/local/bin/newrepo | 2 ++ usr/local/bin/newuser | 2 ++ usr/local/bin/pinyshell | 5 +++++ usr/local/bin/rmaccess | 2 ++ usr/local/bin/rmrepo | 2 ++ 7 files changed, 16 insertions(+) create mode 100755 usr/local/bin/addaccess create mode 120000 usr/local/bin/createuser create mode 100755 usr/local/bin/newrepo create mode 100755 usr/local/bin/newuser create mode 100755 usr/local/bin/pinyshell create mode 100755 usr/local/bin/rmaccess create mode 100755 usr/local/bin/rmrepo (limited to 'usr/local/bin') diff --git a/usr/local/bin/addaccess b/usr/local/bin/addaccess new file mode 100755 index 0000000..6f734f6 --- /dev/null +++ b/usr/local/bin/addaccess @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/addaccess "$@" diff --git a/usr/local/bin/createuser b/usr/local/bin/createuser new file mode 120000 index 0000000..e9d7937 --- /dev/null +++ b/usr/local/bin/createuser @@ -0,0 +1 @@ +newuser \ No newline at end of file diff --git a/usr/local/bin/newrepo b/usr/local/bin/newrepo new file mode 100755 index 0000000..05ce120 --- /dev/null +++ b/usr/local/bin/newrepo @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/newrepo "$@" diff --git a/usr/local/bin/newuser b/usr/local/bin/newuser new file mode 100755 index 0000000..841b47d --- /dev/null +++ b/usr/local/bin/newuser @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/newuser diff --git a/usr/local/bin/pinyshell b/usr/local/bin/pinyshell new file mode 100755 index 0000000..0db88a8 --- /dev/null +++ b/usr/local/bin/pinyshell @@ -0,0 +1,5 @@ +#!/bin/sh +cd /srv/rbin +export PATH=/srv/rbin + +exec /bin/rbash "$@" diff --git a/usr/local/bin/rmaccess b/usr/local/bin/rmaccess new file mode 100755 index 0000000..6c40690 --- /dev/null +++ b/usr/local/bin/rmaccess @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/rmaccess "$@" diff --git a/usr/local/bin/rmrepo b/usr/local/bin/rmrepo new file mode 100755 index 0000000..53bf029 --- /dev/null +++ b/usr/local/bin/rmrepo @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/sudo /usr/local/sbin/rmrepo "$@" -- cgit v1.2.3