From b42b46d4391c0452f0bb883636983d13b2ace237 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Fri, 3 Sep 2010 01:53:31 -0700 Subject: Pluralizing key management commands for clarity --- architecture/needed_user_facing_infrastructure.mdwn | 2 +- usr/src/pinyadmin/bin/readkey | 3 --- usr/src/pinyadmin/bin/readkeys | 3 +++ usr/src/pinyadmin/bin/writekey | 5 ----- usr/src/pinyadmin/bin/writekeys | 5 +++++ 5 files changed, 9 insertions(+), 9 deletions(-) delete mode 100755 usr/src/pinyadmin/bin/readkey create mode 100755 usr/src/pinyadmin/bin/readkeys delete mode 100755 usr/src/pinyadmin/bin/writekey create mode 100755 usr/src/pinyadmin/bin/writekeys diff --git a/architecture/needed_user_facing_infrastructure.mdwn b/architecture/needed_user_facing_infrastructure.mdwn index 8c5e431..ad90d45 100644 --- a/architecture/needed_user_facing_infrastructure.mdwn +++ b/architecture/needed_user_facing_infrastructure.mdwn @@ -9,7 +9,7 @@ password modification |DONE: /srv/rbin/passwd |TODO: Authen::PAM chauthtok repo creation, deletion |DONE: /srv/rbin/newrepo, rmrepo, lsrepo |TODO: CGI frontend repo user management |DONE: /srv/rbin/addaccess, rmaccess, lsaccess |TODO: CGI frontend [[mailing list addition|mail]] |TODO: /srv/rbin/addlist, dependent on getting sympa up |TODO: CGI frontend -authorized_keys modification |DONE: /srv/rbin/readkey, writekey |TODO: CGI frontend, though i am not convinced anyone would care +authorized_keys modification |DONE: /srv/rbin/readkeys, writekeys |TODO: CGI frontend, though i am not convinced anyone would care disable password auth if ssh key|TODO |Ha ha NEVER config tweaking |TODO: /srv/rbin/chrepo...? |TODO: CGI frontend commit access |DONE: git+ssh://piny.be/srv/git/whatever.git |DONE: Ikiwiki+mod-auth-sys-group/mod-auth-pam, though I am told there is a magic hook to allow public editing through git:// diff --git a/usr/src/pinyadmin/bin/readkey b/usr/src/pinyadmin/bin/readkey deleted file mode 100755 index 745bd8d..0000000 --- a/usr/src/pinyadmin/bin/readkey +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/bin/cat ~/.ssh/authorized_keys diff --git a/usr/src/pinyadmin/bin/readkeys b/usr/src/pinyadmin/bin/readkeys new file mode 100755 index 0000000..745bd8d --- /dev/null +++ b/usr/src/pinyadmin/bin/readkeys @@ -0,0 +1,3 @@ +#!/bin/sh + +/bin/cat ~/.ssh/authorized_keys diff --git a/usr/src/pinyadmin/bin/writekey b/usr/src/pinyadmin/bin/writekey deleted file mode 100755 index 61a7760..0000000 --- a/usr/src/pinyadmin/bin/writekey +++ /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 diff --git a/usr/src/pinyadmin/bin/writekeys b/usr/src/pinyadmin/bin/writekeys new file mode 100755 index 0000000..61a7760 --- /dev/null +++ b/usr/src/pinyadmin/bin/writekeys @@ -0,0 +1,5 @@ +#!/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 -- cgit v1.2.3