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
5581e4e1
Commit
5581e4e1
authored
Feb 13, 2015
by
Leigh B Stoller
Browse files
Change passphrase on encrypted certificate (key) when user changes
his web password.
parent
41446e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/changepswd.php
View file @
5581e4e1
<?php
#
# Copyright (c) 2000-201
4
University of Utah and the Flux Group.
# Copyright (c) 2000-201
5
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -243,6 +243,12 @@ else {
$retval
=
SUEXEC
(
$target_uid
,
"nobody"
,
"webtbacct passwd
$target_uid
$safe_encoding
"
,
SUEXEC_ACTION_CONTINUE
);
if
(
!
$retval
)
{
# Change the passphrase on the SSL key.
$retval
=
SUEXEC
(
$target_uid
,
"nobody"
,
"webmkusercert -C -p
$safe_encoding
$target_uid
"
,
SUEXEC_ACTION_CONTINUE
);
}
}
echo
"<script>HideWaitModal('waitwait');</script>
\n
"
;
flush
();
...
...
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