CS 302 Prince Administration

  1. On euclid, what is the home directory for dwilder?  _____________________________
  2. You notice that your network is intermitant.  Sometimes it works, and sometimes no traffic seens to get through.  It varies on a minute-by-minute basis.  List two reasons this could be.
    _______________________________________________________________
    _______________________________________________________________
  3. (Yes/No) Must your NIS domainname be the same as your DNS domain name.  For example, must staff.royalfamily.co use the NIS domainname 'royalfamily.co'?
  4. On euclid, how much disk space is being used.  You MUST answer in megabytes.  _________________________M
  5. Suppose you type 'ls' and see the line below.  
    -rw-r--r--   1 cook    staff       10630 Feb 14 15:50 crown.exe
    Who can read the file? _________________________________________________
    Who can write to the file? ______________________________________________
    Who can run the program? _____________________________________________
  6. (2 points) Make me a new user on your system.  The username must be 'spencer', and the password must be 'zpxoci'.  The home directory for 'spencer' must be set up correctly, but you can puit it anywhere you want.
  7. I set my display variable to point to googee, but I cannot connect.  In other words, 
    $DISPLAY=googee.nmu.edu:0.0
    export DISPLAY
    xterm
    does not produce an xterm on googee.  Googee is running Xwindows.  The network is fine.  I can pop up xterm's on other machines.  Why can I not pop up an xterm on googee?  ________________________
  8. (2 points) Make your computer act like this.  I type 'ls /frd' and I should see euclid's /home.
  9. My web log /var/log/httpd/access_log has 10,000 lines, 20,000 words, and 30,000 bytes.  How many web hits did I receive?  _________________________
  10. Euclid is running sendmail.  Mail is sent at midnight from diana@prince.co.uk to charles@euclid.nmu.edu.  Charles does not read his mail until four hours have passed.  he doesn't even check his mail for those four hours.  Where was the mail stored for most of that time?
    1. On prince.co.uk in Diana's home directory.
    2. On prin.co.uk in /var/spool/mqueue.
    3. On euclid.nmu.edu in Charles' home directory.
    4. On euclid.nmu.edu in /var/spool/mqueue.
    5. It's traveling across the network.
    6. None of the above.
  11. Quill is running lpd.  I print a file '/home/love/spencer.txt' to a dot matrix printer attached to Quill.  At the same time, Andy is printing a file that takes 1/2 hour.  My job appears when Andy's has finished.  Where was the job stored during that 1/2 hour?
    1. In /home/love/spencer.txt.  If /home/randy/fred.txt had changed during the 1/2 hour, the latest version would have been printed.
    2. In /home/love/spencer.txt.  I could not have changed the file during the 1/2 hour; the write permissions were turned off by lpd.
    3. In /home/love/spencer.txt.  I could not have changed the file during the 1/2 hour; the file was locked by lpd.
    4. None of the above.
  12. Suppose there is an entry for charles in the /etc/passwd of surver.co.uk, which has his password as 'ears' and his home directory as '/home/chuck'.  Prince.co.uk runs YP and the server is surver.co.uk.  In prince.co.uk there is the following entry in /etc/passwd:
    charles:sdTNxcxiUQfEQ:1920:1920:Prine Chuck:/home/parker:/bin/bash
    What should he type in as a password? _________________________________________
    What's his home diretcory? __________________________________________________
  13. (3 points) Show me your X server running in 640x480 mode.
  14. What is in the file /tmp/wwii.tar.  Run the tar command and tell me the contents of that file
    _________________________________________________________________________
  15. I can telnet to any machine in the world except diana.co.uk.   Diana.co.uk receives telnet requests from other people, but not me.  Give me something to check tohelp solve this problem.
    _________________________________________________________________________
  16. How many files in /usr/bin on euclid have an 'ee' somewhere in the name? ____________
  17. Suppose you compile into the kernel the "Large Ear Molding Facilitator" device driver, yet you do not have a robot arm holding ear muffs.  What effects will you see?

  18.       GOOD: ______________________________________________________________________
          BAD: ________________________________________________________________________
  19. Suppose you have networking all set up right, but you have installed an incorrect gateway.  What will happen?

  20.  _____________________________________________________________________________
     _____________________________________________________________________________
  21. Where is the very first piece of code the CPU runs on startup stored?  How would you change it?

  22.  ____________________________________________________________________________
     ____________________________________________________________________________
  23. (True/False) You can use 'ping' from your computer to tell if someone else is using your IP number.
  24. I'm running RedHat Linux.  I'm told there is a script that can give people root access if I'm running the network program 'crownserver'.  I need to run crownserver, and hope to find an updated crownserver proram.  Where should I look?
  25. (True/False) You need read permission to execute a binary file. In other words, you need read permission on /bin/ls to run /bin/ls.