summaryrefslogtreecommitdiff
path: root/src/monkeysphere-authentication
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-01 00:21:57 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-01 00:21:57 -0500
commit45a38e389395fed49c82648dfd93c65430956c07 (patch)
tree7b94b1887b483c91f9bbc8e0ebad698315e3a860 /src/monkeysphere-authentication
parent5b5a517e61fb5028aea6c2521524ccf2a377d822 (diff)
add setup subcommand call to ms-authentication, and more fixes to tests
Diffstat (limited to 'src/monkeysphere-authentication')
-rwxr-xr-xsrc/monkeysphere-authentication6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index a8f17f9..4aaf02d 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -47,6 +47,7 @@ usage: $PGRM <subcommand> [options] [args]
Monkeysphere authentication admin tool.
subcommands:
+ setup (s) setup monkeysphere user authentication
update-users (u) [USER]... update user authorized_keys files
add-id-certifier (c+) KEYID import and tsign a certification key
--domain (-n) DOMAIN limit ID certifications to DOMAIN
@@ -155,6 +156,11 @@ COMMAND="$1"
shift
case $COMMAND in
+ 'setup'|'setup'|'s')
+ source "${MASHAREDIR}/setup"
+ setup "$@"
+ ;;
+
'update-users'|'update-user'|'u')
source "${MASHAREDIR}/update_users"
update_users "$@"