Felitaur Enterprises Linux System Administration | Felitaur Enterprises Homepage

Second Take home exam, Exam 3 overall for CIS126DL

Instructor: Phil Waclawski
Fall 2008

Instructions: As this is an HTML file which is kind of in plain text, you can save it to disk and type to it if you wish, or you can type the answers on a seperate file, but no handwritten answers please. :) (You can just highlight the questions and paste them to pico (use the middle wheel as a button and click to paste the highlighted section).

THE EXAM MUST BE TYPED! I will not grade handwritten exams. I can accept word, html and most other formats.
PUT YOUR NAME INSIDE THE ACTUAL EXAM FILE! -- I just print them out, so even though your name is on your email, it has to be on your exam too!
File types: Uses .doc, .rtf, .odt, .pdf. DO NOT USE .docx
If you email the exam to me, please use my waclawski@mail.mc.maricopa.edu address.

You can use any resource you want EXCEPT other people, animals, aliens etc. However, you MUST document that source (if it is the course book just put (CB) after it ;) So if it is a web page, give me the URL someplace, etc.

Some of this may be in the book, some of it you may have to search for a bit, but if you want to become a sys admin you had best learn how to search the web (start with my Search Page for a list of search engines/indexes at the bottom.

Additionally, when I ask for "How would I make it so I can view a huge directory with ls without it scrolling off the screen" a simple
ls -l | more
is all I need for an answer. Keep these short. Even some of the first questions should be a couple of sentences at most. I know this test will be some work (I figure it will take you about 2 hours to finish, not counting boot up times etc) but I don't want it becoming a nightmare. Good hunting.


Each question is worth 4 pts each (for a total of 160 pts)
And PLEASE put the questions into the exam (ie you put your answers under each question) so I can grade them more easily.
AND PUT YOUR NAME INSIDE THE FILE!!
  1. Networking in General
    1. Name three pieces of hardware/types of connections that UNIX can use to hook up to a network/the internet (Think about high speed connections for example).
    2. What is meant by TCP/IP? What does it do?
    3. What is DNS? What is it used for?
    4. What is DHCP? What does it do for us?
    5. What do they mean by Client/Server? Give an example in Linux.
    6. Name 4 servers that you have running right now (unless you have turned them all off. If so just name 4 servers that you USED to have running. :)
  2. Networking in Specific
    1. What do you get when you type /sbin/ifconfig by itself?
    2. What is this lo 127.0.0.1 thing? What is it for?
    3. What is the IP address for the machine you are using? (I'm assuming you are either in BA1W or BA1S for this. Give me the number/name of the machine(it's on a sticker near the keyboard) and the IP and HOW you got the IP address)
    4. I have found an IP address of 198.182.196.56...what is the 'name' for this address? How would I look it up?(There are a couple of ways)
    5. What utility would I use to try and figure out how many computers my internet connection is going through, and what parts are the slowest?
    6. What standard port does ftp run on?
    7. What port for telnet? Secure ssh?
    8. Where do you find the listing of standard port #'s?
    9. What is important about resolv.conf in /etc ?
  3. Network and System Security
    1. You are using a program called "rsync" to keep a duplicate of your web directories across several machines. You want to limit access as much as possible to only certain machines, such as www.felitaur.com ftp.felitaur.com backup.felitaur.com. Search for "rsync" in the /etc directory, this should give you a hint as to the "master internet server" that controls rsync. (look at the name of the directory within /etc). There are two files that this service uses to allow and deny access to hosts. (Also, there is a .org website for the service as well). How would you only allow those three domain names to access rsync?
    2. What do programs like nmap and Nessus do? How can you detect if someone is using it against your system?
    3. Explain how a Distributed Denial of Service attack works.
    4. Why is ssh better/safer to use than telnet? Is there a way to attack/bypass ssh?(if so, how)
    5. List 3 other forms of attack on a network server.
    6. List 3 services (servers) that are vulnerable to attack, and should not be run unless you truly need them?
  4. Recompiling the Kernel
    1. Why would you want to recompile/build a kernel?
    2. What directory do you need to be in to recompile?
    3. What is the difference between make config and make xconfig and make menuconfig?
    4. What is the purpose of modules? What's the advantage? Are there any disadvantages?
  5. Linux GUIs
    1. What is the purpose of the X server? Why is it a 'server'?
    2. What does Xlib provide to X windows?
    3. Gnome uses which graphics toolkit?
    4. What is the toolkit that KDE uses? How is it different from Gnome's?
    5. Describe 3 features of Gnome and 3 features of KDE
    6. What has Redhat done to allow both Desktop Environments to work on one system? And what have they done to confuse people by making Gnome look like KDE (what is this called?)
    7. Compare and contrast Konquerer and Nautilus
    8. What is the tcl/tk toolkit? What does it have to do with Xwindows?
    9. Why did most linux distros switch from the XFree86 X server, and go to Xorg ?
  6. Yum/apt-get
    1. How do you turn on or off a particular yum repository?
    2. What does the gpgcheck and gpgkey lines do in a .repo file?
    3. What command would you use to create your own yum repository? (Note: I do NOT mean configure a repository like rpmforge, but CREATE your own)
    4. Inside that repository, what is the purpose of the "headers" directory, and the .hdr files inside?
    5. apt-get is used by debian style linux distributions, but can be installed on redhat ones as well. How is it different than yum?
    6. using rpm, what query option would I use to get all the information about the "kernel" package? (type the full command)
Felitaur Enterprises Linux System Administration | Felitaur Enterprises Homepage