diff options
Diffstat (limited to 'usr/src/pinyadmin/bin')
-rwxr-xr-x | usr/src/pinyadmin/bin/addaccess | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/appendkeys | 5 | ||||
l--------- | usr/src/pinyadmin/bin/createuser | 1 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/lsaccess | 30 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/lsrepo | 10 | ||||
-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/pinyconfig | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/pinyshell | 5 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/readkeys | 3 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/rmaccess | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/rmrepo | 2 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/writekeys | 5 |
13 files changed, 0 insertions, 71 deletions
diff --git a/usr/src/pinyadmin/bin/addaccess b/usr/src/pinyadmin/bin/addaccess deleted file mode 100755 index 849119d..0000000 --- a/usr/src/pinyadmin/bin/addaccess +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/addaccess "$@" diff --git a/usr/src/pinyadmin/bin/appendkeys b/usr/src/pinyadmin/bin/appendkeys deleted file mode 100755 index a4b7d98..0000000 --- a/usr/src/pinyadmin/bin/appendkeys +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/bin/mkdir -p ~/.ssh -/bin/echo Please input authorized keys to be appended. ctrl-d to finish, ctrl-c to abort current line. -/bin/cat >> ~/.ssh/authorized_keys diff --git a/usr/src/pinyadmin/bin/createuser b/usr/src/pinyadmin/bin/createuser deleted file mode 120000 index e9d7937..0000000 --- a/usr/src/pinyadmin/bin/createuser +++ /dev/null @@ -1 +0,0 @@ -newuser
\ No newline at end of file diff --git a/usr/src/pinyadmin/bin/lsaccess b/usr/src/pinyadmin/bin/lsaccess deleted file mode 100755 index ce41fc4..0000000 --- a/usr/src/pinyadmin/bin/lsaccess +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -use Piny; - -my $env = Piny::Environment->instance( ); - -my ( $reponame ) = @ARGV; - -if ( defined $reponame ) { - - my $repo = Piny::Repo->new( $reponame ); - - foreach my $user ( Piny::User->all_users( ) ) { - if ( $repo->has_access( $user ) ) { - print $user->name . "\n"; - }; - }; - -} else { - - foreach my $repo ( Piny::Repo->all_repos( ) ) { - if ( $repo->has_access( $env->user ) ) { - print $repo->name . "\n"; - }; - }; - -}; diff --git a/usr/src/pinyadmin/bin/lsrepo b/usr/src/pinyadmin/bin/lsrepo deleted file mode 100755 index 2d88eb5..0000000 --- a/usr/src/pinyadmin/bin/lsrepo +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -use Piny; - -foreach my $repo ( Piny::Repo->all_repos( ) ) { - print $repo->name . "\n"; -}; diff --git a/usr/src/pinyadmin/bin/newrepo b/usr/src/pinyadmin/bin/newrepo deleted file mode 100755 index 025e0cf..0000000 --- a/usr/src/pinyadmin/bin/newrepo +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/newrepo "$@" diff --git a/usr/src/pinyadmin/bin/newuser b/usr/src/pinyadmin/bin/newuser deleted file mode 100755 index 1f73ed6..0000000 --- a/usr/src/pinyadmin/bin/newuser +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/newuser diff --git a/usr/src/pinyadmin/bin/pinyconfig b/usr/src/pinyadmin/bin/pinyconfig deleted file mode 100755 index 4e54f76..0000000 --- a/usr/src/pinyadmin/bin/pinyconfig +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/pinyconfig "$@" diff --git a/usr/src/pinyadmin/bin/pinyshell b/usr/src/pinyadmin/bin/pinyshell deleted file mode 100755 index 0db88a8..0000000 --- a/usr/src/pinyadmin/bin/pinyshell +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -cd /srv/rbin -export PATH=/srv/rbin - -exec /bin/rbash "$@" diff --git a/usr/src/pinyadmin/bin/readkeys b/usr/src/pinyadmin/bin/readkeys deleted file mode 100755 index 745bd8d..0000000 --- a/usr/src/pinyadmin/bin/readkeys +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/bin/cat ~/.ssh/authorized_keys diff --git a/usr/src/pinyadmin/bin/rmaccess b/usr/src/pinyadmin/bin/rmaccess deleted file mode 100755 index 665052c..0000000 --- a/usr/src/pinyadmin/bin/rmaccess +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/rmaccess "$@" diff --git a/usr/src/pinyadmin/bin/rmrepo b/usr/src/pinyadmin/bin/rmrepo deleted file mode 100755 index e0e8085..0000000 --- a/usr/src/pinyadmin/bin/rmrepo +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/sudo /usr/sbin/rmrepo "$@" diff --git a/usr/src/pinyadmin/bin/writekeys b/usr/src/pinyadmin/bin/writekeys deleted file mode 100755 index 61a7760..0000000 --- a/usr/src/pinyadmin/bin/writekeys +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/bin/mkdir -p ~/.ssh -/bin/echo Please input all authorized keys. ctrl-d to finish, ctrl-c to abort. -/usr/bin/sponge ~/.ssh/authorized_keys |