CT320: Network and System Administration

Fall 2019

IQ 03

CT320 IQ 03

Show Main.IQ03 as a slide show.

UID vs. EUID—the difference?

  1. A set-user-id (SUID) program changes the EUID.
  2. EUID is the UID at process exit.
  3. A set-user-id (SUID) program changes the UID.
  4. UID is for the child, EUID is for the parent.
  5. They are always the same.

In which order do these typically occur?



  1. exit(), fork(), exec()
  2. exec(), exit(), fork()
  3. fork(), exit(), exec()
  4. fork(), exec(), exit()
  5. exec(), fork(), exit()

How do you find out why your system is so slow?

  1. ps
  2. top
  3. kill
  4. exit

Where is the file name stored?

  1. with the file data
  2. in the inode
  3. in the hard link
  4. in the directory
  5. in the MBR

What can I do with zot?

% id
uid=2464(pete) gid=1555(under) groups=1555(under)
% ls -l zot
-rw-r-x-wx 1 jack under 2751 Jul 27 12:21 zot
  1. read & write only
  2. execute & read only
  3. execute & write only
  4. execute, read, and write
  5. nothing

What’s the opposite of mount?

  1. demount
  2. dismount
  3. mount -u
  4. umount
  5. unmount