Introduction | p. xi |
Basic System Administration | p. 1 |
Superuser Control: the root user | p. 1 |
Root User Password | p. 2 |
Root User Access: su | p. 3 |
System Time and Date | p. 5 |
Using the redhat-config-date Utility | p. 5 |
Using the date Command | p. 6 |
Scheduling Tasks: cron | p. 7 |
The crond Service | p. 7 |
crontab Entries | p. 8 |
cron Environment Variables | p. 9 |
cron.d Directory | p. 9 |
crontab Command | p. 10 |
cron Editing | p. 10 |
Organizing Scheduled Tasks | p. 11 |
Running cron Directory Scripts | p. 12 |
Cron Directory Names | p. 13 |
System Runlevels: telinit, initab, and shutdown | p. 13 |
runlevels | p. 13 |
initab runlevels | p. 14 |
Changing runlevels with telinit | p. 16 |
runlevel Command | p. 16 |
shutdown | p. 17 |
Managing Services | p. 19 |
chkconfig | p. 19 |
service Command | p. 19 |
redhat-config-services | p. 19 |
Red Hat Administration Tools | p. 20 |
System Directories | p. 21 |
Program Directories | p. 22 |
Configuration Directories and Files | p. 22 |
Configuration Files: /etc | p. 22 |
/etc/sysconfig | p. 24 |
System Logs: /var/log and syslogd | p. 26 |
redhat-logviewer | p. 26 |
syslogd and syslog.conf | p. 27 |
syslogd.conf Entries | p. 28 |
Priorities | p. 28 |
actions and users | p. 30 |
/etc/syslog.conf Example | p. 31 |
Performance Analysis Tools and Processes | p. 31 |
ps Command | p. 32 |
vmstat, free, top, iostat, Xload, and sar | p. 32 |
Procman System Manager | p. 34 |
Gnome System Manager (GTop) | p. 34 |
KDE Process Manager (kpm) | p. 35 |
KDE Task Manager and Performance Monitor (KSysguard) | p. 35 |
Managing Users | p. 37 |
User Configuration Files | p. 37 |
The Password Files | p. 38 |
/etc/passwd | p. 39 |
/etc/shadow and /etc/gshadow | p. 40 |
Password Tools | p. 40 |
Managing User Environments | p. 41 |
Profile Scripts | p. 41 |
/etc/skel | p. 42 |
/etc/login.defs | p. 43 |
/etc/login.access | p. 43 |
Controlling User Passwords | p. 44 |
Red Hat User Manager | p. 45 |
Adding and Removing Users with useradd, usermod, and userdel | p. 47 |
Useradd | p. 47 |
usermod | p. 49 |
userdel | p. 49 |
Managing Groups | p. 50 |
/etc/group and /etc/gshadow | p. 50 |
User Private Groups | p. 51 |
group directories | p. 51 |
Managing Groups with the Red Hat User Manager | p. 52 |
Managing Groups Using groupadd, groupmod, and groupdel | p. 53 |
Controlling Access to Directories and Files: chmod | p. 53 |
Permissions | p. 54 |
chmod | p. 56 |
Ownership | p. 57 |
Changing a File's Owner or Group: chown and chgrp | p. 58 |
Absolute Permissions: Binary Masks | p. 59 |
Setting Permissions: Permission Symbols | p. 61 |
Directory Permissions | p. 62 |
Ownership Permissions | p. 64 |
Sticky Bit Permissions | p. 65 |
Permission Defaults: umask | p. 66 |
Disk Quotas | p. 67 |
Quota Tools | p. 67 |
edquota | p. 68 |
quotacheck, quotaon, and quotaoff | p. 70 |
repquota and quota | p. 70 |
Lightweight Directory Access Protocol | p. 71 |
LDAP Clients and Servers | p. 71 |
LDAP Configuration Files | p. 72 |
LDAP Tools | p. 72 |
LDAP and PAM | p. 73 |
LDAP and the Name Service Switch Service | p. 74 |
Pluggable Authentication Modules | p. 74 |
PAM Configuration Files | p. 75 |
PAM Modules | p. 75 |
Software Management | p. 77 |
Software Repositories | p. 78 |
Software Package Types | p. 79 |
Red Hat Package Manager (RPM) | p. 80 |
RPM Tools | p. 81 |
RPM Packages | p. 81 |
Installing from the Desktop: redhat-config-packages | p. 82 |
Updating Software | p. 84 |
Command-Line Installation: rpm | p. 84 |
Installing Software from RPM Source Code Files: SRPMs | p. 92 |
Source Code RPM Directories | p. 93 |
Building the Source Code | p. 93 |
Installing Software from Compressed Archives: .tar.gz | p. 94 |
Decompressing Software | p. 94 |
Selecting an Install Directory | p. 95 |
Extracting Software | p. 96 |
Compiling Software | p. 97 |
Command and Program Directories: PATH | p. 101 |
The Concurrent Versions System: CVS | p. 103 |
Checking in and Checking out | p. 104 |
Importing | p. 105 |
Logging Messages | p. 105 |
Committing Changes | p. 106 |
Updating, Adding, and Removing CVS Files | p. 106 |
Internet CVS Repositories | p. 107 |
Packaging Your Software with RPM | p. 108 |
The Build Components | p. 109 |
Build Tree Directories | p. 110 |
RPM Spec File | p. 111 |
RPM Build Operation | p. 114 |
Filesystem Hierarchy Standard | p. 117 |
Root Directory: / | p. 118 |
System Directories | p. 119 |
Program Directories | p. 120 |
Configuration Directories and Files | p. 121 |
/usr Directory | p. 121 |
/mnt Directory | p. 122 |
/home Directory | p. 122 |
/var Directory | p. 122 |
/proc File System | p. 124 |
Device Files: /dev | p. 125 |
Floppy Devices | p. 127 |
Hard Disk Devices | p. 127 |
CD-ROM Devices | p. 127 |
File System Administration | p. 129 |
File Systems | p. 130 |
Mounting File Systems | p. 131 |
File System Information | p. 132 |
Journaling | p. 134 |
ext3 Journaling | p. 135 |
ReiserFS | p. 135 |
Mounting File Systems Automatically: /etc/fstab | p. 136 |
Auto Mounts | p. 137 |
mount Options | p. 137 |
Boot and Disk Check | p. 140 |
CD-ROM and Floppy Defaults | p. 141 |
Partition Labels: e2label | p. 141 |
Windows Partitions | p. 142 |
Linux Kernel Interfaces | p. 142 |
noauto | p. 143 |
Mounting File Systems Directly: mount and umount | p. 144 |
mount Command | p. 145 |
unmount Command | p. 146 |
Mounting Floppy Disks | p. 147 |
Mounting CD-ROMs | p. 148 |
Mounting Hard Drive Partitions: Linux and Windows | p. 150 |
Installing IDE CD-R/RW and DVD-R/RW Devices | p. 151 |
SCSI Emulation | p. 151 |
Kernel Parameters at Boot Time | p. 152 |
Grub and CD Writers | p. 152 |
scanbus | p. 153 |
Creating File Systems: mkfs, mke2fs, mkswap, parted, and fdisk | p. 154 |
fdisk | p. 154 |
parted | p. 156 |
mkfs | p. 157 |
mkswap | p. 159 |
CD-ROM Recording | p. 160 |
mkisofs | p. 160 |
cdrecord | p. 163 |
Backups | p. 163 |
Anacron | p. 164 |
Amanda | p. 164 |
RAID and LVM | p. 165 |
Enabling RAID and LVM in the Kernel | p. 165 |
Configuring RAID Devices | p. 166 |
Linux Software RAID Levels | p. 167 |
RAID Devices: md | p. 169 |
Corresponding Hard Disk Partitions | p. 169 |
Booting from a RAID Device | p. 171 |
Automatic Detection: Persistent Superblocks | p. 172 |
RAID Tools | p. 172 |
Creating and Installing RAID Devices | p. 173 |
RAID Example | p. 179 |
Logical Volume Manager | p. 180 |
LVM Structure | p. 181 |
Creating LVMs with Disk Druid | p. 182 |
LVM Tools | p. 183 |
LVM Example | p. 185 |
Devices and Modules | p. 187 |
Device Files | p. 187 |
Device Symbolic Links | p. 188 |
Hardware Device Installation: Kudzu | p. 189 |
Creating Device Files Manually | p. 190 |
Device Information: /proc and /etc/sysconfig/hwconf | p. 192 |
Installing and Managing Terminals and Modems | p. 193 |
Serial Ports | p. 194 |
mingetty, mgetty, and agetty | p. 194 |
termcap and inittab Files | p. 195 |
tset | p. 195 |
Input Devices | p. 196 |
Installing Sound, Network, and Other Cards | p. 196 |
Sound Devices | p. 197 |
Video, TV, and DVD Devices | p. 198 |
Modules | p. 199 |
Kernel Module Tools | p. 199 |
Module Files and Directories | p. 200 |
Managing Modules with /etc/modules.conf | p. 201 |
Installing New Modules for the Kernel | p. 205 |
Print Servers | p. 207 |
CUPS and LPRng | p. 207 |
Printer Devices and Configuration | p. 208 |
Printer Device Files | p. 209 |
Spool Directories | p. 209 |
Printer Configuration with redhat-config-printer | p. 209 |
Configuring a New Printer | p. 210 |
Editing Printer Configurations | p. 211 |
Configuring Network Printers | p. 211 |
Managing Printers with CUPS | p. 212 |
CUPS Configuration Tool | p. 213 |
Configuring Remote Printers on CUPS | p. 214 |
CUPS Printer Classes | p. 215 |
CUPS Configuration | p. 216 |
CUPS Command-line Print Clients | p. 217 |
CUPS Administrative Tools | p. 220 |
The Line Printer Server: LPRng | p. 222 |
LPRng Print Clients | p. 223 |
printcap File | p. 223 |
Configuring Ipd | p. 225 |
LPRng Print Clients | p. 227 |
Kernel Administration | p. 229 |
Kernel Versions | p. 229 |
Kernel Tuning: Kernel Runtime Parameters | p. 231 |
Installing a New Kernel Version | p. 233 |
Red Hat Kernel Packages | p. 234 |
CPU Kernel Packages | p. 234 |
Support Packages | p. 235 |
Installing Kernel Packages: /boot | p. 235 |
Precautionary Steps for Modifying a Kernel of the Same Version | p. 238 |
Boot Loader | p. 239 |
Boot Disk | p. 240 |
Compiling the Kernel from Source Code | p. 240 |
Installing Kernel Sources: Kernel Archives and Patches | p. 241 |
Configuring the Kernel | p. 242 |
Important Kernel Configuration Features | p. 244 |
Compiling and Installing the Kernel | p. 247 |
Installing the Kernel Image Manually | p. 249 |
Kernel Boot Disks | p. 250 |
Boot Loader Configurations | p. 251 |
GRUB Configurations | p. 252 |
LILO Configurations | p. 252 |
Module RAM Disks | p. 253 |
Service Management Tools: chkconfig and redhat-config-services | p. 255 |
redhat-config-services | p. 256 |
chkconfig | p. 256 |
Listing Services with chkconfig | p. 257 |
Starting and Stopping Services with chkconfig | p. 258 |
Enabling and Disabling xinetd Services with chkconfig | p. 259 |
Adding and Removing Services with chkconfig | p. 259 |
Index | p. 261 |
Table of Contents provided by Ingram. All Rights Reserved. |