summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin/bin
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 13:56:03 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 13:56:03 -0700
commitab08391a42cb9a8e0d9023525f60f73ef848d17e (patch)
tree565f60e4a48dd5ac98e319ee222ee7f486424bab /usr/src/pinyadmin/bin
parent311d67a43ba7958c327d60a13e040a51cbb94139 (diff)
downloadpiny-code-ab08391a42cb9a8e0d9023525f60f73ef848d17e.tar.gz
piny-code-ab08391a42cb9a8e0d9023525f60f73ef848d17e.zip
Moved the various administrative scripts into Debian packaging.
Diffstat (limited to 'usr/src/pinyadmin/bin')
-rwxr-xr-xusr/src/pinyadmin/bin/addaccess2
l---------usr/src/pinyadmin/bin/createuser1
-rwxr-xr-xusr/src/pinyadmin/bin/newrepo2
-rwxr-xr-xusr/src/pinyadmin/bin/newuser2
-rwxr-xr-xusr/src/pinyadmin/bin/pinyshell5
-rwxr-xr-xusr/src/pinyadmin/bin/rmaccess2
-rwxr-xr-xusr/src/pinyadmin/bin/rmrepo2
7 files changed, 16 insertions, 0 deletions
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 "$@"