CT320: Network and System Administration

Fall 2019

IQ 02

CT320 IQ 02

Show Main.IQ02 as a slide show.

What’s the usual order?

  1. GRUB / kernel / BIOS / systemd / MBR
  2. kernel / BIOS / systemd / MBR / GRUB
  3. systemd / BIOS / MBR / GRUB / kernel
  4. BIOS / MBR / GRUB / kernel / systemd
  5. MBR / systemd / kernel / GRUB / BIOS

systemd has services and targets

  1. crond is a service, reboot is a target
  2. crond is a target, reboot is a service
  3. both are targets
  4. both are services
  5. this is a trick question

What file contains encrypted login passwords?

  1. /bin/passwd
  2. /etc/passwd
  3. /shadow/passwd
  4. /etc/shadow
  5. It depends.

What does the x bit mean for a directory?

  1. You can execute the directory as a program.
  2. You can remove the directory.
  3. You can use the directory in a path.
  4. The directory must be used exclusively (one user at a time).
  5. The directory has a mutant ability.

Consider these commands

#! /bin/bash
date >xyz
chmod ugo= xyz
rm xyz
  1. Fine—xyz is removed.
  2. After confirmation, xyz is removed.
  3. Can’t remove xyz because it’s not writable.
  4. It’s not possible to remove all the permission bits like that.