Commit 2a534d88 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Move addpubkey from the utils to account directory. Note that I copied

the RCS control file in the repository so the history is left intact.

Two new modes, which used to be in the old mkacct. There is an init
mode, which is used on new users to create the initial pub key. There
is also a write mode, which is used regenerate the authkeys files for
people after they add/delete keys via the web interface. Used to be
that addpubkey wold add the key to the DB, but mkacct would deal with
creating the authkeys files. All this functionality is now localized
in this one script.
parent 292d16c8
This diff is collapsed.
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -20,6 +20,6 @@ my $TB = "@prefix@";
#
# Run the real thing, and never return.
#
exec "$TB/bin/addpubkey", @ARGV;
exec "$TB/sbin/addpubkey", @ARGV;
die("webaddpubkey: Could not exec addpubkey: $!");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment