diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-03-18 13:56:03 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-03-18 13:56:03 -0700 |
commit | ab08391a42cb9a8e0d9023525f60f73ef848d17e (patch) | |
tree | 565f60e4a48dd5ac98e319ee222ee7f486424bab /usr/src/pinyadmin/bin | |
parent | 311d67a43ba7958c327d60a13e040a51cbb94139 (diff) | |
download | piny-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-x | usr/src/pinyadmin/bin/addaccess | 2 | ||||
l--------- | usr/src/pinyadmin/bin/createuser | 1 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/newrepo | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/newuser | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/pinyshell | 5 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/rmaccess | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/rmrepo | 2 |
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 "$@" |