SUID Programming Part 3 - Due before class March 11
For this assignment, you will be re-writing your program that provides password access to a file on the class linux system. Please see part 1 for details on the structure and how your code should be set up when you are finished.
You have a new secret account in addition to your old one. See the secretid file in your home directory to find out what it is. Your initial password is your gocard number.
This time, you should use the feedback you have received as well as outside readings to improve your code. Below are suggested readings that you can follow to see if you missed anything. Some may only be accessible from campus.
- Tips on Writing SUID/SGID programs
- Writing Safe Setuid Programs
- Secure Programming for Linux and Unix HOWTO
Projects are due before class on March 11, 2013. Make things secure! After the projects are up, your classmates will be trying to get the contents of your secret text file.