Exercise #03 for DAT2300 due 2006-02-10 23:59 EDT (Friday) no late penalty if submitted by 2006-02-12 23:59 EDT (Sunday) GJ Hagenaars -- gj@hagenaars.com Work on the Course Linux Server (not ACADUNIX)! 1. Create a file called "exercise03answers.txt" 2. At the top of the file, use the label as defined before. 3. Put on a line the word "lab" by itself, then work on lab exercises 1-5 below. List all the relevant commands and arguments that you had to use in the lab exercises. Put in comments to show why you did something (this can help your mark even if you did something wrong). 4. Put on a line the word "notes" by itself, then answer the questions from the course notes file called "permissions.txt" 5. Put on a line the word "book" by itself, then answer questions 1-4 and 6-10 from the book, chapter 4, pages 103-105. 6. Put on a line the word "advanced" by itself, then answer questions 12, 13, 15 and 18, chapter 4, pages 105-106. 7. Submit using the datsubmit command datsubmit 03 exercise03answers.txt lab exercises: 1. In my directory on the course linux server (my username is "gj"), is a directory called "public_html/dropbox". In this location, create a directory the name of which is your studentid. Set the permissions on this directory to 700. 2. In the directory you have just created, put a copy of lines 7-15 of the password file into a file called "partpasswd". 3. Change the permissions on "partpasswd" so that everyone can read and write the file, but nothing else. 4. Create a new file called "partgroup". Every line should contain one GID followed by a space, followed by the name of the group. List ONLY the GIDs that appear in "partpasswd". Make sure the list is sorted numerically, and remove duplicates. 5. Remove all write access from "partgroup".