Commit c30fa7dd authored by Leigh Stoller's avatar Leigh Stoller

Command line argument changes to backend scripts.

parent 57dc81ac
<?php
#
# 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.
#
include("defs.php3");
......@@ -496,7 +496,7 @@ TBMAIL("$usr_name <$usr_email>",
#
# mkacct updates the user gecos and password.
#
MKACCT($uid, "webmkacct -a $target_uid");
MKACCT($uid, "webmkacct $target_uid");
#
# Spit out a redirect so that the history does not include a post
......
<?php
#
# 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.
#
include("defs.php3");
......@@ -166,8 +166,8 @@ flush();
# and do the account stuff for all of the people in the group. This
# is the same script that gets run when the group membership changes.
#
SUEXEC($uid, $unix_gid, "webmkgroup -a $group_pid $group_id", 1);
SUEXEC($uid, $unix_gid, "websetgroups -a $head_uid $group_leader", 1);
SUEXEC($uid, $unix_gid, "webmkgroup $group_pid $group_id", 1);
SUEXEC($uid, $unix_gid, "websetgroups $head_uid $group_leader", 1);
echo "<br><br>
<b>Done!</b>
......@@ -178,6 +178,12 @@ echo "<br><br>
#
SHOWGROUP($group_pid, $group_id);
#
# Back to ...
#
echo "<br>
<A href='showproject.php3?pid=$group_pid'>Back to Project page</a>\n";
#
# Standard Testbed Footer
#
......
<?php
#
# 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.
#
include("defs.php3");
......@@ -298,7 +298,7 @@ if (ADDPUBKEY($uid, "webaddpubkey -n $addpubkeyargs")) {
PAGEFOOTER();
return;
}
ADDPUBKEY($uid, "webaddpubkey -a $addpubkeyargs");
ADDPUBKEY($uid, "webaddpubkey $addpubkeyargs");
#
# mkacct updates the user pubkeys in ~ssh/authorized_keys.
......
<?php
#
# 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.
#
include("defs.php3");
......@@ -301,7 +301,7 @@ TBMAIL("$targuid_name <$targuid_email>",
#
# mkacct arranges for nodes to be updated.
#
MKACCT($uid, "webmkacct -a -f $target_uid");
MKACCT($uid, "webmkacct -f $target_uid");
header("Location: showsfskeys.php3?target_uid=$target_uid&finished=1");
?>
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