Name:

  1. (12 points) Add the following users with the following characteristics. Note that you may have to create groups. It does not matter what commands or methods you use to create the users, as long as they are created according to the specifications below.
    username password shell primary group additional groups
    larry larry7 /bin/bash larry stooge
    curly curly6 /bin/bash curly stooge
    moe howard /bin/bash moe stooge
    shemp howie2 /bin/bash stooge
    harpo silent /bin/bash harpo marx
    chico tweettweet /bin/sh chico marx
    groucho tobacc0 /bin/bash groucho marx
    zeppo lost /bin/bash zeppo marx
  2. What command will find all files owned by the user zeppo, anywhere on the filesystem?
  3. What command would delete shemp and his home directory?
  4. On redhat-derived systems (such as CentOS, Fedora and Mandriva), what are two configuration files for the useradd command?
  5. Configure your system so that all users by default create files with permissions of 600. What entry did you put in which file?
  6. show the syntax of the tail command to show the last 25 lines of /var/log/messages.
  7. What is one reason unmounting a filesystem may fail?
  8. Why shouldn't you run fsck on a mounted filesystem?
  9. What command will display the MAC address of your NIC?
  10. If you were to add 10.10.2.1 as your first nameserver, what file would you have to alter?
  11. show the syntax of the command to ping the IP address 127.127.0.1 exactly twice
  12. Using traceroute, determine how many hops there are between your classroom system and www.hennepintech.edu
  13. Show the syntax of the command to send pings as fast as possible. You may want to experiment with various flags to see which is fastest.
  14. What command or keystroke will interrupt a running command (such as a ping?)