Setting up handin


  1. Make sure your home directory is owned by you and not world writable.
    chmod 711 /home/user_name/

  2. Make a folder called handin in your home directory.
    mkdir /home/user_name/handin

  3. Make sure your handin directory is owned by you and not world writable.
    chmod 711 /home/user_name/handin

  4. Make any number of directories within the handin directory. This is where students will hand files into.

    For example, if there are 2 assignments to be turned in throughout the quarter, you might have the 2 directories p1 p2 within the handin directory, explicitly (for user cs110), ~cs110/p1 and ~cs110/p2.

  5. Make a users.deny file.
    touch /home/user_name/handin/users.deny

    You may create a users.allow file, or users.deny file, or both. Handin will check the users.allow file first, if a users name is found, access is granted, otherwise access is denied. If the file doesn't exist, users.deny is checked. Here, if a users name is found, access is denied, otherwise access is granted. If neither users.allow or users.deny is found, then no users can submit files.

    Both the users.allow and users.deny file should be newline delimited lists of user names. Ex:

    scott
    root
    smith
    bobby
    etc...

    users.allow and/or users.deny files should be placed in the handin directory as well as any handin subdirectories, unless no user access is desired within the respective directory where the files are missing.

Submitting with handin


To submit files, use the command:

handin touser hw1 file1 ... fileN

For more information, see the man pages on handin, and rcvhandin.