Commit bd32aec3 authored by Mac Newbold's avatar Mac Newbold

Changes to mkacct-ctrl for membership in multiple groups. Now it only takes...

Changes to mkacct-ctrl for membership in multiple groups. Now it only takes user as a param and does the rest from the db. Special note: You can now run it to correct any incorrect password/group entries. Like if someone gets removed from one of the groups they belong to (but we don't want to kill their acct yet). Also, special note for accts on paper: It doesn't change your shell. So if you had an acct with a real shell (admins/developers only) it will leave it. If your a testbed admin, it will also make sure you're in group wheel and group flux.
parent 5a73a070
This diff is collapsed.
......@@ -257,7 +257,7 @@ elseif (strcmp($approval, "approve") == 0) {
# Create the user accounts. Must be done *before* we create the
# project directory!
#
SUEXEC($uid, "flux", "mkacct-ctrl $pid $headuid", 0);
SUEXEC($uid, "flux", "mkacct-ctrl $headuid", 0);
#
# Create the project directory. If it fails, we will find out about it.
#
......
......@@ -227,7 +227,7 @@ while (list ($header, $value) = each ($HTTP_POST_VARS)) {
#
# Create user account on control node.
#
SUEXEC($uid, "flux", "mkacct-ctrl $project $user", 0);
SUEXEC($uid, "flux", "mkacct-ctrl $user", 0);
echo "<h3><p>
User $user was granted membership in project $project
......
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