Administration
  Home arrow Administration arrow Page 12 - Kernel, Cron, and User Administration, Part 2
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ADMINISTRATION

Kernel, Cron, and User Administration, Part 2
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 7
    2004-10-06


    Table of Contents:
  • Kernel, Cron, and User Administration, Part 2
  • Updating Your Boot Loader
  • The Kernel Source Tree and Documentation
  • The Kernel RPMs
  • GUI Kernel Source Management
  • The Linux Kernel tar File
  • Understanding Kernel Configuration Options
  • Compiling and Installing a Custom Kernel
  • The cron and at Systems
  • Setting Up cron for Users
  • Certification Summary
  • Self Test
  • Lab Questions
  • Self Test Answers
  • Lab

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Kernel, Cron, and User Administration, Part 2 - Self Test
    ( Page 12 of 15 )

    The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully, as there may be more than one correct answer. Choose all correct answers for each question. This is just to test your understanding of the material; Red Hat no longer includes multiple choice questions on the RHCE or RHCT exams.Shell Configuration Files

    1. The system-wide file associated with the bash shell is:

    A. /etc/shells.conf

    B. /etc/startup.sh

    C. /etc/profile

    D. There is no system-wide shell startup file; all such files reside in individual user directories.

    Setting Up and Managing Disk Quotas

    2. You are running an ISP service and provide space for users’ Web pages. You want them to use no more than 40MB of space, but you will allow up to 50MB until they can clean up their stuff. How could you use quotas to enforce this policy?

    A. Enable grace periods; set the hard limit to 40MB and the soft limit to 50MB.

    B. Enable grace periods; set the soft limit to 50MB and the hard limit to 40MB.

    C. Enable grace periods; set the soft limit to 40MB, and the hard limit to 50MB.

    D. None of the above.

    3. If you wanted to configure quotas for everyone on the /home directory, what would you add to the options in /etc/fstab?

    A. quota

    B. usrquota

    C. grpquota

    D. userquota

    The Basics of the Kernel

    4. You are troubleshooting someone else’s computer and are not sure what network card is inside it. You have checked the output from the dmesg command, but no network cards are listed, and even though you have a bunch of compiled network modules, none are currently loaded. What could you do to load the unknown network device most quickly?

    A. Try loading each module manually.

    B. modprobe \*

    C. Nothing. The kernel will load the module when you try to connect to the network.

    D. modprobe -t net

    5. You can’t find any modules in the /lib/modules/kernel_version/kernel/drivers (or similar) directories. Which of the following actions would set up these modules?

    A. Go into the /lib/modules/kernel_versiondirectory and run the make modules command.

    B. Go into the /lib/modules/kernel_versiondirectory and run the make modules and make modules_install commands.

    C. Go into the /usr/src/linux-2.4 directory and run the make modules command.

    D. Go into the /usr/src/linux-2.4 directory and run the make modules and make modules_ install commands.

    New Kernels, the Easy Way

    6. When you install an updated kernel from a Red Hat RPM, which of the following steps do you need to take?

    A. Add information on the new kernel in a GRUB stanza.

    B. Add a new Initial RAM disk to the /boot directory.

    C. Reconfigure the /usr/src/linux-2.4/.config file.

    D. None of the above.

    Kernel Sources

    7. You’re not sure which kernel source tree is active for your Linux computer. Which of the following directories should be linked to that source tree?

    A. /usr/src/linux

    B. /usr/src/linux-2.4

    C. /usr/src/linux-2.4rh

    D. /usr/src

    Recompiling a Kernel

    8. When compiling a kernel, you’ve navigated to the /usr/src/linux-2.4 directory. Which of the following would not work with the make command to reconfigure your kernel?

    A. config

    B. menuconfig

    C. windowconfig

    D. xconfig

    9. You have just compiled a new kernel with the make bzImage command. You need to copy the kernel and Initial RAM disk to the /boot directory. What is the most efficient way to make this happen?

    A. Copy the image from the /usr/src/linux/arch/i386/boot directory.

    B. Nothing. The make bzImage command automatically installs the kernel to the /boot directory.

    C. Install a revised Red Hat kernel RPM.

    D. After you’ve set up modules, run the make install command.

    The cron and at Systems

    10. You want to schedule a maintenance job to run from your home directory on the first of every month at 4:00 A.M. Which of the following cron entries runs the specified job at the specified time?

    A. 0 4 1 * * ~/maintenance.pl

    B. 4 1 * * ~/maintenance.pl

    C. 0 4 31 * * ~/maintenance.pl

    D. 1 4 0 0 ~/maintenance.pl

    This is part one from the fifth chapter of Red Hat Certified Engineer Linux Study Guide (Exam RH302), fourth edition, by Michael Jang. (McGraw-Hill/Osborne, 2004, ISBN: 0-07-225365-7). Check it out at your favorite bookstore today. Buy this book now.



     
     
    >>> More Administration Articles          >>> More By McGraw-Hill/Osborne
     

       

    ADMINISTRATION ARTICLES

    - Network Booting via PXE: the Basics
    - Scalix: Linux Administrator`s Guide
    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek