Reading QuestionsRemember to submit your answer to this question BEFORE the next class. The following commands come from page 7 of the Computer Security:
$ sudo chown seed mycat
$ chmod 4755 mycat
$ ./mycat /etc/shadow
If you swap the order of the first and second commands
$ chmod 4755 mycat
$ sudo chown seed mycat
$ ./mycat /etc/shadow
please write down how and why the commands executed after swapping the order differ from the original commands. |