Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
c30fa7dd
Commit
c30fa7dd
authored
Jan 24, 2003
by
Leigh B. Stoller
Browse files
Command line argument changes to backend scripts.
parent
57dc81ac
Changes
4
Hide whitespace changes
Inline
Side-by-side
www/moduserinfo.php3
View file @
c30fa7dd
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
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
...
...
www/newgroup.php3
View file @
c30fa7dd
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
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
#
...
...
www/showpubkeys.php3
View file @
c30fa7dd
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
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.
...
...
www/showsfskeys.php3
View file @
c30fa7dd
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
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"
);
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment