Homework 2

Due date: February 3, 2006
Points: 100

  1. (20 points) Text, problem 13.1.
  2. (20 points) Text, problem 13.5.
  3. (16 points) Text, problem 23.1.
  4. (15 points) Text, problem 23.6.
  5. (29 points) The program setdate runs setuid to root. Its function is to change the date of the system. Please analyze the robustness and security of this program using the source code (available from the class web page). In particular, how hard would it be for someone to obtain excess privileges using this program? How hard would it be for someone to supply input that caused the program to crash, or do something wrong?

Extra Credit

  1. (10 points) Text, problem 13.10.

Version of January 23, 2006 at 9:31 PM
You can also obtain a PDF version of this.