<?php
set_include_path('/zg/chonoles/public_html/site/php');
include('defaults.php');

$page_id = "common-tasks";
$page_title = "Common Tasks";
$page_description = "This page is a guide to some common tasks you may want to perform with your math department computer account.";
$page_keywords = "miscellany, ssh";

include('begin.php');
?>

  <header class="guide">

    <h1>Common Tasks For Your Math Department Account</h1>

    by <a href="http://math.uchicago.edu/~chonoles/">Zev Chonoles</a>

  </header>

  <main>

    <?php
    $section_name = "Log into your account using a command line interface";
    $anchor_link = true;
    $anchor_id = "command-line-interface";
    include('section-begin.php');
    ?>

      <p>In order to accomplish some tasks you'll need to </p>

      <?php
      $subsection_name = "PuTTY (for Windows)";
      $anchor_link = true;
      $anchor_id = "putty";
      include('subsection-begin.php');
      ?>

        <p>Lorem ipsum wepnaf fabtley asfob srots fdbn</p>

      <?php include('subsection-end.php'); ?>

      <?php
      $subsection_name = "Terminal (for Macs)";
      $anchor_link = true;
      $anchor_id = "terminal";
      include('subsection-begin.php');
      ?>

        <p>Lorem ipsum wepnaf fabtley asfob srots fdbn</p>

      <?php include('subsection-end.php'); ?>

    <?php include('section-end.php'); ?>

    <?php
    $section_name = "Change your password";
    $anchor_link = true;
    $anchor_id = "about";
    include('section-begin.php');
    ?>

      <p>For this task, you'll have to use a command line interface, not FileZilla.</p>

      <ul>
        <li>Log in using a command line interface.</li>
        <li>Type the command <code>yppasswd</code>, press Enter, and follow the instructions.</li>
        <li>When typing the old and new passwords, they</li>
      </ul>

    <?php include('section-end.php'); ?>

    <?php
    $section_name = "Forward email sent to <code>yourname@math.uchicago.edu</code> to another email address";
    include('section-begin.php');
    ?>

      <p>Email forwarding is quite simple to set up.</p>
      
      <ul>
        <li>Ensure that the file <code>.foward</code> exists in your home directory.</li>
        <li>Change its permissions to <code>600</code>.</li>
        <li>Edit it to contain the email address(es) you want your mail fowarded to, each on its own line.</li>
      </ul>

    <?php include('section-end.php'); ?>

    <?php
    $section_name = "Make your files private";
    include('section-begin.php');
    ?>

      <p><code>chmod</code></p>

    <?php include('section-end.php'); ?>


    <?php
    $section_name = "Encrypt your files";
    include('section-begin.php');
    ?>

      <p>http://cb.vu/unixtoolbox.xhtml#crypt</p>

    <?php include('section-end.php'); ?>

    <?php
    $section_name = "Access the internet as if you were at the math department";
    include('section-begin.php');
    ?>

      <p></p>

    <?php include('section-end.php'); ?>

<?php
$last_modified_date = getlastmod();
include('footer.php');
include('end.php');
?>