7.3 Exercise



  1. Please change the owner of /bin/vi file into ourselves and restore it.

  2. Please change the belonging group of /sbin/fsck file into user and restore it.

  3. Please change the directory permission of /var/tmp into 700 and restore it.

  4. Please become root user, and set setuid bit and setgid bit to /sbin/fdisk, and became a general user, and execute it with -l option.

  5. Please become root user again, and clear setuid bit and setgid bit from /sbin/fdisk.


Previous Next