<<

access control administration tools Symbols configuring FTP server, 689–691 Fedora GUI, 14, 310–313 \ (backslash), scripts, 399 configuring MySQL database, Gnome desktop, 80 . (dot) files, 107 788–789 overview of, 311–313 ! (exclamation point) command, FTP, configuring printer, 611 Samba, 635 295 configuring Samba server, administration window, MySQL - (minus sign) 638–639 database server, 762–763 resizing text on Web page, 270 configuring Squid, 597–598 administrative user accounts, 363, starting background for directories in Apache Web 764–765 processes, 125 server, 713–714, 717 Adobe Acrobat Reader turning off file permissions, 137 options when exporting directory application, 209 ; (semicolon), sequential with NFS, 626 Adobe Flash Player, adding to commands, 120 system jobs with at , 274 | (pipe) command, 109, 119 facility, 427 Adobe Reader Plugin, adding to + (plus sign) xinetd advantages, 425 Firefox, 274 resizing text on Web page, 270 access file, outgoing mail access, Advanced Configuration and Power starting background 665–666 Interface (ACPI), 348–351 processes, 125 AccessFileName directive, Advanced Encryption Standard turning on file permissions, 137 Apache, 717 (AES), 512 !! (run previous command), 118 Account Info, User Properties dialog Advanced Sound Architecture # (pound sign) prompt, shell, box, 386–387 (ALSA), 219 105, 398 Account Information dialog, 369–370 Advanced Maryland Automatic $ (dollar sign) prompt, 105, 117 accounts. see user accounts Network Disk Archiver. $HOME directories, configuration ACPI (Advanced Configuration and see Amanda (Advanced files, 315 Power Interface), 348–351 Maryland Automatic $MAIL environment variable, 288 Acronis Disk Director suite, 55 Network Disk Archiver) % (percent sign), 126 Action directive, Apache, 727 Advanced Power Management (APM), %post command, 53 ActiveX, securing Firefox with, 276 348–350 & (ampersand), background Add NFS Share window, 621–624 Advanced Preferences, Firefox, commands, 120, 125 Add Tags, digital camera, 259 273–274 * (asterisk) wildcard, vsFTPd site AddCharset directive, Apache, 726 Advanced Web Statistics navigation, 693 AddDefaultCharset directive, (AWStats), 742 ~ (tilde) character, home directory, Apache, 726 AES (Advanced Encryption 107, 117 AddEncoding directive, Apache, Standard), 512 ~/.bash_logout file, shell, 127 725–726 agent format, Apache log files, ~/.bash_profile file, shell, 127 AddHandler directive, Apache, 726 719, 721 ~/.bashrc file, shell, 127 COPYRIGHTEDAddIcon directives, Apache, MATERIAL 723–725 AH (Authentication Header), IPsec, < (less than), file-redirection, 136 AddLanguage directive, Apache, 584–585 > (more than), file-redirection, 136 725–726 AiGLX (Accelerated Indirect GL X) add-ons, Firefox, 276 project, 98 Add/Remove window, PackageKit, Alias directive, Apache, 721–722 A 162–163 aliases AbiWord word processor, 205, address reservations, DHCP adding, 130 207–208 server, 749 checking order of commands absolute path, checking directories, AddType directive, Apache, 726–727 typed in shell, 112 106–107 administration. see system command- completion Accelerated Indirect GL X (AiGLX) administration with, 116 project, 98 Administration menu, 310–313

811

944967bindex.indd 811 2/27/11 10:39:03 PM A

aliases (continued) percentage of websites today Windows in Linux, creating technical support powered by, 695 197–198 mailbox, 382 quick-starting, 697–700 with , mail delivery, 671–672 starting and stopping, 734–736 198–202 shell configuration with, 127 Apache Web server, configuring overview of, 151 AllowOverride directive, Apache, actions and headers, 727 remote X, 188–193 713–714 binding to specific addresses, 706 software formats, 174–181 allusers database, MySQL, 774 character sets, 726 starting from GNOME Do, ALSA (Advanced Linux Sound customizing error responses, 186–187 Architecture), 219 727–729 starting from menu, 185 alsamixer utility, 224–225 default index files for directories, starting from Run Application alsa-utils RPM package, 219 716–723 window, 185–186 Alt+p (reverse search) keys, 118 encoding and language, 725–726 starting from terminal window, ALTER command, MySQL tables, global environment, 701–703 187–188 786–787 indexing, 723–725 using Fedora, 181–183 alternatives system, for software, main server, 711–714 Applications menu 352–353 MIME types and handlers, 726 Gnome desktop, 80 Amanda (Advanced Maryland modules and related services, investigating your desktop, 185 Automatic Network Disk 733–734 KDE desktop, 91 Archiver) module-specific configuration starting applications from adding network services, 462–463 files, 711 GNOME Do, 186–187 creating amanda.conf file, number of server processes, starting applications from Run 459–461 703–706 Application, 185–186 creating directories, 459 overview, 700–701 architecture, virtual guest, 805 creating disklist file, 461–462 proxy and caching services, arguments, shell command-line, 110 overview of, 458 730–731 arithmetic performing , 463–464 selecting modules in httpd.conf, expanding expressions, 121 amandabackup user, 458 706–711 performing in shell scripts, amanda.conf file, 459–461 setting responses to browsers, 402–403 ambassadors, Fedora Project, 11 729–730 arrow keys (step), command-line amdump command, Amanda , user and group, 711 recall, 118 463–464 user directories, 715–716 artwork, Fedora Project, 12 ampersand (&), background virtual hosting, 731–732 ascii transfer , FTP, 294 commands, 120, 125 APM (Advanced Power Management), askmethod, 35, 45 anaconda (Fedora installation 348–350 asterisk (*) wildcard, vsFTPd software), 14, 73 Apple. see Mac OS X navigation, 693 Analog log-file analyzer, 742 applets, adding to GNOME panel, at command, 125 analyzing traffic, 741–742 85–86 at facility, 427–430 AND operator, MySQL records, 784 application launcher, GNOME at.allow, 427 anonymous user desktop, 84–85 at.deny, 427 enabling access to vsFTPd, applications, accessing and running atq command, 430 688–689 DOS, 193–197 atrm command, 430 quick-starting vsFTPd as, finding common desktop, ATRPMs repository, 157 686–687 183–184 attacks setting FTP access as, 684, getting Fedora software updates, protecting against DDoS, 504–508 689–691 160–162 protecting against DoS, 501–504 sharing NFS file systems as, 623 getting/installing software protecting against intrusion, uploading files in vsFTPd sessions packages. see software 508–510 from, 690–691 packages, getting and types of, 500–501 AOL, with, 290 installing Audacity, recording sound with, 225 Apache Software Foundation, 696 from GNOME desktop, 23, 80–81 audio file formats, , 253 Apache Web server Internet, 265–267 audio players monitoring activities. see investigating your desktop, 185 choosing, 225–226 monitoring Web server from KDE desktop, 91, 93 MIDI, 234 activities Linux security checklist for, 468 , 227–230 overview of, 696–697 Microsoft Windows, 193 XMMS Audio Player, 230–233

812

944967bindex.indd 812 2/27/11 10:39:03 PM

authconfig command, kickstart network, 443–444 bookmarks, Firefox, 269–270 installation, 51 before resizing Windows, 55 boot CD, installation, 29 authentication restoring backed-up files, /boot directory, 64, 131 adding Windows printer via 456–458 boot hardware, initializing system, 413 Samba, 614 selecting medium for, 444–451 boot kernel, initializing system, 413 connecting to wireless network user login for, 77 boot loader. see GRUB (Grand Unified from NetworkManager, using déjà-dup, 436–438 Boot Loader) 528–529 using dump, 452–454 boot prompt, virtual guests, 802 enabling, 40–41 using , 464–465 boot settings, 33–35 kickstart installation, 51 using , 438–441 boot.fedoraproject. org, 45 remote X applications, 192–193 backup script, creating shell script bootloader command, kickstart Samba server, 636–637 as, 412 installation, 51 Samba SWAT option, 641 BackupPC tool, 442 bottom bar VPN connection setup with Bacula, 442 GNOME desktop, 79, 81 NetworkManager, 531–532 banner pages, configuring on local KDE desktop, 92 Authentication Header (AH), IPsec, printers, 611 boxed sets, Fedora not available 584–585 Base, OpenOffice.org, 204 through, 11 author rights, GNU public license for (Bourne Again SHell) shell , 242–243 Fedora, 18 configuring system-wide options bridging, in Managed WLANs, .auto extension, converting audio for, 378 533–534 files with SoX, 235–236 as default Linux shell, 104 Broadcom drivers, wireless card, 545 autofs command, mounting NFS file features of, 110 BrowserMatch directive, Apache, systems, 633–634 parameter expansion in, 401–402 729–730 automatic copy, Evolution e‑mail, 284 performing arithmetic in shell browsing files, GNOME desktop, automatic updates, 15 scripts, 402–403 81–83 automating system tasks. see system programming constructs in, brute-force attacks, AES, 512 tasks, automating 403–409 BSD (Berkeley Software Distribution), 7 AWStats (Advanced Web useful external programs, page, 41 Statistics), 742 409–411 build tools, Fedora installation .bash_logout file, 127 media, 22 .bash_profile file, 127, 376–377 built- in command, 112 B .bashrc file, 127, 376–377 bye command, FTP, 295 back ticks, 120 Basic tab, Add NFS Share bzip2 utility, 176, 177 background window, 622 changing GNOME desktop, 84 batch command, scheduling system commands, 120 tasks, 430 C processes, 109, 124–126 Berkeley Software Distribution C (csh) shell, 104 transfers, with ncftp, 296–297 (BSD), 7 cables, LAN backslash (\), shell scripts, 399 bg command, 126 equipment setup, 535 Backspace key, editing shell /bin directory, 112, 131 hardware, 534 command lines, 113 bin user, administrative login, 319 star topology, 533 backup binary RPMs, 175–176 caching services, Apache, 730–731 choosing tools, 441–442 binary transfer mode, FTP, 294 caching services, Squid, 593, 595– configuring Amanda for network, /bin/sh command, 104 596, 599–600 458–464 BitTorrent clients/servers, 266, /cal directory, /etc/exports cron daemon automating, 291–292 file, 624 454–456 blacklists Calc, OpenOffice.org, 204 before deleting partitions, 60 CD-ROM drive, 227 calendars, 283, 681 disk mirroring using, 443 e‑mail, 665 canonical names, main Apache doing simple, 435–436 SpamAssassin checking server, 712 file system, 328 e‑mail, 674 Caps Lock key, user passwords, full, 442–443 , 261 382–383 to hard drive, 451–452 block devices, encryption, 332 cards, wireless LAN, 544–545 incremental, 443 blocking connections, with iptables CAs (certificate authorities) before installation, 33 firewall, 487 creating PKI for OpenVPN, 588 MySQL database, 790 blocking content, in Firefox, 273 getting CSR signed, 516–517

813

944967bindex.indd 813 2/27/11 10:39:03 PM C

CAs (continued) creating self-signed, 518 setting up FreeIPA, 521 troubleshooting SSL creating SSL, 513–514 setting up NFS file server, 620 certificates, 519 Dogtag, 515 setting up proxy, 602–604 trusted third-party certificate Firefox, 274, 277 setting up Samba, 650–651 signers, 514–515 protecting Web servers with, client schannel, Samba SWAT, 642 case command, shell scripts, 511–519 cloning virtual guests, 802–803 406–407 restarting your Web server and, Close menu, keyboard categories 519 shortcut, 87 digital camera images, 259 signing Certificate Service codecs installation, 26 Request, 516–517 purchasing for audio/video, software, 38–39 third-party signers of, 514–515 218–219 cd (change directory) command, 107, upgrade requirements, 28 video and audio, 252 132–133 change command, user password, 366 for Xine, 252 CD images, mounting, 336–337 channels, tvtime, 246 CodeWeavers, 198, 202, 205 CD/DVD Creator window, 435–436 character sets, Apache, 726 combined format, Apache logs, cdparanoia command, 238 characters 719, 721 cdrecord command in shell scripts, 399 combinedio format, Apache logs, backup tool, 442 translating or deleting, 410 719, 721 creating audio CDs with, 239–240 chats and instant messaging, 266, command-line arguments, 398, replaced by wodim, 447–448 289–291 400–401 for writable DVDs, 446 checklist, Linux security, 467–470 commands writing to DVDs, 446–450 checkpolicy package, SELinux, 357 administrative, 314 CD-ROMs application, 248–249 background, 120 automatically playing CDs, 226 child caches, Squid, 599 background processes, 124–126 installing Fedora from, 29 chkconfig command command-line completion, mounting, 335 adding run-level scripts, 423–425 116–117 troubleshooting, 227 reorganizing/removing run-level command-line editing, 113–115 CDs. see also Fedora 14 Desktop scripts with, 423 command-line recall, 117–119 Edition Live CD starting Apache at boot time, configuring VPN with IPsec, automatically playing, 226 734–736 585–586 creating audio and data, 239 starting nfsd daemons, 628 CUPS standard printing, 608 creating music, 239–243 chmod command expanding, 120–121 ejecting data, 224 changing file permissions, extracting and encoding music extracting and encoding music 137–138 CDs, 238–239 with commands, 238–239 creating directories, 133 foreground processes, 124–126 extracting songs from music, defined, 132 FTP servers, 685 236–238 restricting access, 499 Linux file system. see file systems, Fedora support for, 8 Chrome browser, 268, 278–280 Linux file system information stored , 278–280 locating, 110–113 on, 6 CIDR (classless inter-domain NetworkManager, 529–531 getting custom spins, 17 routing), IP addresses, piping, 119 making simple backup archives 560–562 printing, 614–616 on, 435–436 CIFS (Common Internet File System) rerunning, 113 managing music, 219–220 protocols, 635 Samba, 647–650 mastering and burning own, 4 CIPE (Crypto IP Encapsulation), VPN, SELinux, 356 playing content in Xine, 253 583–584 sequential, 120 Cedega, 198 ClamAV virus scanner, 674 shell, 109–110, 111, 127–130 CERT website, 469 classes shell environment variables, certificate authorities. see CAs choosing install, 38 121–124 (certificate authorities) CUPS printer, 608 shell interface, 104–109 Certificate Service Request (CSR), IP address, 559 text editor. see text editors 515–517 client virtual terminal, 145–147 certificates configuring Linux router, comments, shell scripts, 398 creating Certificate Service 581–582 commercial Windows games, Request, 515–516 setting up Amanda network 261–262 creating PKI for OpenVPN, services on, 463 common format, Apache log files, 588–590 setting up DHCP, 755–757 719–720

814

944967bindex.indd 814 2/27/11 10:39:04 PM D

Common Internet File System (CIFS) aliasing relocated, 721–722 cube, desktop, 98 protocols, 635 determining location of, 713 CUPS (Common Unix Printing Common Unix Printing Service. see redirecting requests for old, Service) CUPS (Common Unix 722–723 configuring printers, 609–614 Printing Service) content, Firefox preferences, 273 configuring shared printer, compatibility issues, device drivers, 8 copying CDs, with K3b, 241 616–617 completion, command-line, 116–117 copying files as print service for Fedora, 608 Compose Message, Evolution, 285 commands for, 138–139 using printing commands, computer usage FTP commands for, 294–295 614–616 checking for , 794 KDE desktop commands, 93 cupsd daemon, 610–614 monitoring, 346–347 remotely with rcp, 302 current (working) directory, confAUTH_MECHANISMS line, remotely with scp, 302 checking, 106–107 sendmail.mc file, 663 copyright material current run level, determining, 426 confAUTH_OPTIONS line, sendmail. GNU public license for Fedora Custom rules, Firewall Configuration mc file, 663 software, 18 window, 476 confAUTO_REBUILD line, sendmail. unauthorized copying of, 251 custom spins, Fedora, 17 mc file, 662 corrupted file systems, protection Customize Now button, 38 confDEF_USER_ID line, sendmail. from, 64 CustomLog directive, Apache mc file, 662 cost advantages, of Linux, 9 LogFormat, 721, 740 confDONT_BLAME_SENDMAIL line, cp command, 138–139, 452 cutting text in command lines, 115, sendmail.mc file, 663 CPU Temperature applet, 86 409–410 confDONT_PROBE_INTERFACES, CPUs sendmail.mc file, 662 creating virtual guest system, 797 Configure input option, tvtime, 245 creating virtual guests with virt- D confPRIVACY_FLAGS line, install, 805 DAC (Discretionary Access sendmail.mc file, 663 monitoring usage, 347–348 Control), 354 confQUEUE_LA line, sendmail.mc crackers, 5, 470 DAEMON_OPTIONS line, sendmail.mc file, 663–664 cracklib, 471 file, 664–665 confREFUSE_LA line, sendmail.mc CREATE DATABASE command, daemons file, 663–664 mysql, 773–774 defined, 469 confSMTP_LOGIN_MSG definition, Create Samba Share window, 638 multitasking in Linux, 8 sendmail.mc file, 662 CREATE TABLE command, 774–775 Samba, 635 confTO_CONNECT line, sendmail.mc creating own CDs, music, 239–243 starting on as-needed basis by file, 662 cron command xinetd, 469 confTO_IDENT line, sendmail.mc Amanda backups with, 463 xinetd advantages, 425 file, 663–664 automating backups with, Dag repository, 157 confTO_QUEUERETURN line, 454–456 Data Encryption Standard (DES), 512 sendmail.mc file, backups to additional hard drive data integrity, IPsec, 585 663–664 with, 452 data privacy, IPsec, 585 confTO_QUEUEWARN line, sendmail. remote backups with rsync, ssh data types mc file, 663–664 and, 440–441 DHCP server, 750–751 confTRY_NULL_MX_LIST line, run commands unattended with, MySQL tables, numeric, 779–781 sendmail.mc file, 662 430–433 MySQL tables, time/date, 781–783 confUSERDB_SPEC line, sendmail. understanding cron files, database files. see also MySQL mc file, 663 433–434 database server, 669–670 connections CrossOver Plugin, for Firefox, 275 date and time, running Fedora checking wireless, 555 Crypto IP Encapsulation (CIPE), Firstboot, 40 configuring Firefox to use proxy, configuring VPN, 583–584 dd, installing driver disk, 35 603–604 cryptsetup command, encrypted DDoS (distributed DoS attacks), 500, creating virtual guest system, 796 file systems, 332 504–508 Firefox, 273 csh (C) shell, 104 Debian Binary Package format, 177 Internet. see Internet, connecting to CSR (Certificate Service Request), debugging networks. see network connection 515–517 shell scripts, 398–399 setup Ctrl+d, 113 sound cards, 223 contacts, Evolution e‑mail, 283 Ctrl+r (reverse incremental search) Squid services, 594 content, Apache keys, 118 declare command, viewing accountability for publishing, 716 Ctrl+z, 125 environment variables, 121

815

944967bindex.indd 815 2/27/11 10:39:04 PM D

DeCSS encryption, 249 troubleshooting, 99–101 creating, 132–134 default gateway using virtual workspaces, 79–80 creating Amanda, 459 configuring LAN interface using , 96–97 default index files in Apache for, Network Configuration Destination Network Address 716–723 window, 538 Translation (DNAT), 486 FTP commands for, 293–294 configuring Linux as router, /dev directory, 131, 222 getting help using shell, 111–112 579–580 device drivers identifying for Apache users, configuring network clients for defined, 6 715–716 Linux router, 582–583 detecting sound card, 223–224 identifying in shell, 134 defaults, setting user Linux hardware support, 8 Linux file system as hierarchy of, adding user accounts to servers, encryption 130–131, 620 379–380 (dm-crypt), 332 Linux vs. Windows-based file configuring system-wide shell DeviceKit, 323–324 systems, 132 options, 378 devices list of useful, 131–132 overview of, 373–376 Fedora 14 support for small, 16 locating commands within, setting system profiles, 378–380 with sound cards, 222 110–113 supplying initial .bashrc and df command, 343–344 for separate file system partitions, .bash_profile files, df-h command, 61–62 64–65 376–377 DH (Diffie-Hellman) parameters, sharing, 621–624 supplying initial login scripts, 376 SSL/TLS connection in DirectoryIndex directive, Apache, supplying initial .tcshrc file, OpenVPN, 588–589 716–717 377–378 DHCP (Dynamic Host Configuration disabled mode, SELinux policy, 355 DefaultType directive, Apache, Protocol) server disk images, configuring install 717–718 configuring /etc/dhcp/dhcpd. server, 46–47 defined users, SELinux, 355 conf file, 748–754 Disk Management, resizing defragmentation, disk, 55 opening firewall and SELinux for, Windows, 55 déjà-dup tool, backup, 436–438 747–748 disk mirroring, 443–444 deleting overview of, 745 Disk Setup, 37, 58–61 commands for, 138–139 setting up, 746 disk space Evolution e‑mail, 284 setting up client, 755–757 adding hard disk, 339–341 KDE desktop files, 93 setting up Linux as, 541 checking for virtualization, 794 MySQL records, 788 starting, 754–755 checking system space, 343–346 partitions with Disk Setup, 60 using, 746 consumed by caching, 599 partitions with fdisk, 62 dhcp package, 746 Fedora installation scheduled jobs, 429 dhcpd.conf file, 748–751 requirements, 24 shell command lines, 113 dictionary words, avoiding in using RAID disks, 341–343 software packages after passwords, 470 , 343–344 installation, 72 digests, RPM package integrity, Disk Utility, 65 user accounts, 387–388 165–166 disklist file, Amanda, 459–463 denial-of-service attacks. see DoS digiKam image viewer, KDE desktop, display name, remote X applications, (denial-of-service) attacks 257–259 189–192 DES (Data Encryption Standard), 512 digital cameras display threads, Thunderbird mail Desktop Effects, 98–99 detecting, 324 client, 286 Desktop Switcher, 89 displaying in Fedora, 258–259 distributed DoS attacks (DDoS), 500, desktop users, 364 overview of, 257–258 504–508 desktops as storage device, 259–260 divert line, sendmail.mc file, 662 creating portable, 380–381 digital signatures DLL files, WINE, 201 enabling 3D effects on, 98–99 adding to page generated by DMA setting, troubleshooting getting familiar with, 78–79 Apache server, 721 Xine, 256 GNOME. see GNOME desktop setting Evolution preferences, 284 dm-crypt (device mapper KDE. see KDE desktop SpamAssassin checking spam, 674 encryption), 332 logging in to Linux, 76–77 verifying RPM package integrity, dmesg command, 349 MeeGo, 97 165–166 DNAT (Destination Network Address Moblin, 97 directories Translation), 486 overview of, 75–76 checking, 106–107 DNS servers, 538, 539–540 switching environments, 89–90 checking status of shared, 650 DocBook documents, 212–213

816

944967bindex.indd 816 2/27/11 10:39:05 PM E

documentation dual-boot Linux and Windows readers and managers, 288 Fedora and, 11–12 creating partitions, 63 sending to all users, 394–396 Enterprise Linux, 12 preparing from GNOME desktop setting address for main Apache SELinux, 356–357 for, 23 server, 711 documents resizing Windows partitions, setting readers to filter spam, 677 creating DocBook, 212–213 54–56 text-based mail programs, creating in Groff or LaTeX, setting up for, 54 287–288 210–212 setting up with live CD, 33 Thunderbird, 286–287 displaying PDF files, 208–209 using Windows partitions from instant message client, 291 styling and formatting in Linux, 56–58 emulator programs, 194–195 Writer, 207 dumb terminal, single shell, 124 Enable Networking, in Dogtag certificate system, 515 dump command, 452–454 NetworkManager, 529 dollar sign ($) prompt, 105, 117 DVD images, mounting, 336–337 Encapsulating Security Payload (ESP), Dolphin, 93–94 DVDs 584–585 DoS (denial-of-service) attacks creating own spins, 17–18 encoding, in Apache, 725–726 overview of, 500 Fedora supporting, 8 encoding music, 236–239 protecting against mailbombing, getting custom spins, 17 Encrypted Filesystems Feature 501–502 install. see Fedora 14 Install DVD page, 332 protecting against smurfing, legal issues for commercial, encryption 503–504 217–218 configuring Samba server, 637 protecting against spam relaying, making simple backup archives configuring VPN with IPsec, 502–503 on, 435–436 584–586 reducing impact with --limit mastering and burning own, 4 configuring VPN with OpenVPN. option, 488 storing file system data on, 6 see OpenVPN DOS applications, running, 195–197 DVI format, 178 creating SSL certificates, 513–519 DOSBox, 194, 196–197 dynamic device manager (), enabling authentication and, DOSEMU, 194 working with DeviceKit, 40–41 dot (.) files, 107 323–324 for file systems, 332 dot-directories, 435–436 Dynamic Host Configuration overview of, 511 dovecot command, configuring Protocol. see DHCP problems with password, 472–473 POP3 and IMAPv4, (Dynamic Host public-key cryptography, 512 678–680 Configuration Protocol) Samba SWAT option, 641 download manager, Firefox, 273 server Secure Sockets Layer, 512 downloading files dynamic shared object (DSO) symmetric cryptography, 511–512 images from digital camera, 259 modules, Apache, 707–710 VPN connection with setting FTP access for, 689–690 NetworkManager, 531–532 with wget, 299–301 enforcing mode, SELinux policy, 355 drag and drop, Nautilus file E environment variables manager, 83 echo statements, shell scripts, 398 adding, 129 Draw, OpenOffice.org, 204 editing command-line completion with, drawer, adding to GNOME panel, 86 command-line, 113–115 116 drive letters, installing Windows partitions, 61 common, 121–123 application in WINE, Samba, 647–648 creating own, 129–130 199–200 with text editors. see text editors defined, 110 drivers edquota command, 392 setting own, 123–124 getting wireless, 548–550 802.11 standard, 543 setting system profiles, 378–379 installing, 35 , 246–248 understanding, 121 loading nonfree wireless, emacs text editor, 113–114 ephemeral port numbers, vsFTPd, 693 545–546 e‑mail Epiphany browser, 268 standardized printer, 608 clients, 266 Equalizer, XMMS Audio Player, 232 for wireless cards in Linux, 545 creating technical support error DSO (dynamic shared object) mailbox, 382 Apache web server, 727–729 modules, Apache, 707–710 Evolution, 282–286 logging Web server, 739–740 du command, 345, 393 managing, 267 SELinux, 359 dual booting, installing Fedora on managing with Zarafa, 681 ErrorDocument directive, Apache, -based Mac, 65 overview of, 281–282 727–729

817

944967bindex.indd 817 2/27/11 10:39:05 PM F

ErrorLog directive, Apache, 719, Exim mail service Fedora installation with, 14, 739–740 as mail server for Fedora, 657 24–26, 810–811 Esc key, vi text editor, 141–142 switching to, 352–353 getting custom Fedora spins, 17 ESP (Encapsulating Security Payload), exiting commands, FTP, 295 included with this book, 4 584–585 exiting GNOME, 88–89 installation media, 22 /etc directory, 131, 315–318 expanding commands, 120–121 preparing for installation, 30–33 /etc/bashrc file, 127, 376–378 expiration period, password, 383 resizing Windows, 55–56 /etc/dhcp/dhcpd.conf file, exploit programs, intrusion attacks troubleshooting installation, 748–754 using, 500 71–72 /etc/exports file, 381, 623–628 exportfs command, 627–628 upgrades not available from, 27 /etc/fstab file, 381, 389–390, exporting using, 22–24 630–632 NFS file system only if Fedora 14 Install DVD /etc/httpd/conf.d/*.conf, mounted, 623 beginning installation, 33–39 733–734 shared NFS file systems, 621, booting installation from hard /etc/init.d directory, 416–419, 624–628 disk, 42–43 421, 423, 649–650 EXPOSED_USER line, sendmail.mc choosing for Fedora installation, /etc/inittab script, 413 file, 664 26, 810–811 /etc/mail/sendmail.cf file. see expr command, and spacing, 403 choosing location, 28–29 sendmail ext3 file system, 330, 332 creating virtual guests, 795–796 /etc/mail/sendmail.mc file. see ext4 file system, 330, 332 defined, 22 sendmail extensions, setting wireless, 557–558 Fedora installation /etc/passwd file, 308 external programs, for shell scripts, requirements, 24 /etc/profile file, 127, 376, 409–411 getting started, 25–26 378–379 extracting music CDs GNOME desktop installation, 17 /etc/rc.d/init.d/iptables from commands, 238–239 included with this book, 4 command, 479 with , 239 installing Fedora on Intel-based /etc/samba/smb.conf file, 640– with Rhythmbox, 228 Mac, 65 645, 647–648 with , 236–239 installing software after /etc/syscconfig/iptables installation with, 152 command, 478–479 performing upgrade with, 27–28 /etc/syscconfig/iptables- F troubleshooting installation, config command, 479 F menu, launching applications in 71–72 /etc/sysconfig directory, 421 KDE, 91 Fedora 14, overview Ethernet Device window, configuring face browser, 76–77 background to, 3–4 LANs, 537 FancyIndexing directive, Apache, choosing Fedora, 13–15 eurephia, for OpenVPN security, 592 723–724 choosing Fedora vs. Enterprise, PDF-viewing application, 209 Fast User Switch, GNOME, 88 12–13 Evolution e‑mail FAT16/FAT32 partitions, 56–58 culture of , 18 connecting to Microsoft Exchange fault-tolerant behavior, 443, 452 defining, 10 servers, 285–286 fc command, 118–119 getting software and spins, 16–18 defined, 281 fdisk command introduction to, 4–5 managing schedule and adding new hard disk, 341 Linux, understanding, 5 contacts, 285 creating partitions, 61–64 Linux advantages, 9–10 overview of, 282–283 restoring entire file system, Linux features, 7–9 sending, reading and receiving, 457–458 Linux rooted in Unix, 6–7 284–285 viewing Linux file system new features in Fedora 13 and, setting preferences, 284 partitions, 327–329 15–16 setting to filter spam, 677 FEATURE lines, sendmail.mc file, Red Hat forms Fedora Project, ex commands, searching text in vi 663–664 10–12 text editor, 143–144 Fedora, setting up DHCP client in, Red Hat shift to Red Hat Exchange servers, configuring 755–756 Enterprise Linux, 12 Evolution for, 283, Fedora 14 Desktop Edition Live CD Fedora CD set, custom spins, 17 285–286 beginning installation, 33–39 Fedora Core, 3, 11 exclamation point (!) command, checking hardware from, 31–32, Fedora Documentation project, 11–12 FTP, 295 323 Fedora DVD, custom spins, 17 execute permissions, 113 Fedora installation on Intel-based Fedora Firstboot, 39–40 executing, shell scripts, 398–399 Mac, 65–66 Fedora Installation Guide, 29

818

944967bindex.indd 818 2/27/11 10:39:05 PM F

Fedora Live CD project, 18 File Transfer Protocol over Secure Firewall Configuration window, Fedora Project, 10–12 Sockets Layer (FTPS), 474–476 Fedora Release Notes, 41 683–684 firewalls Fedora Weekly News, 12 File Transfer Protocol over Secure configuring for DHCP, 747–748 file associations, , 95 Sockets Layer iptables. see iptables firewall file command, 178, 252 (FTP/SSL), 683 kickstart installation, 51 file locks, sharing NFS file File Transfer Protocol servers. see FTP Linux security checklist for, 468 systems, 622 (File Transfer Protocol) reasons to use Linux on file server setup servers WLANs, 542 goals of, 619–620 file types, Nautilus file manager, 83 securing vsFTPd, 687 NFS. see NFS (Network File file-matching metacharacters, setting up vsFTPd behind, 693 System), setting up file 134–136 troubleshooting Samba server, 653 server filenames FirstAidKit, 351–352 Samba. see Samba file server command-line completion, 116 fixes, Fedora, 11 executing shell scripts, 398 FLAC audio with BitTorrent, 291–292 Linux vs. Windows-based file playing, 220 NFS file systems. see NFS file systems, 132 playing with ogg123, 232–233 systems, sharing file-redirection metacharacters, 136 support in XMMS Audio Player, 231 file system command, 112 files floppy disks file systems, Linux browsing in GNOME desktop, mounting, 335 creating files and directories, 81–83 mounting images from, 336–337 132–134 configuring install server, 46 Fluendo, codecs from, 219 creating with mkfs command, getting with FTP, 292–297 folders, creating in Evolution, 285 338–339 managing with Dolphin and fonts, configuring WINE, 201 defined, 6 Konqueror in KDE, 92–95 “for.do” loop, shell scripts, 407–408 defining, 620 sharing using BitTorrent, 291–292 foreign IP address, DDoS attack hierarchical organization of, working with KDE desktop, protection, 508 326–327 93–94 formats identifying directories, 134 filesystem IDs, sharing NFS file converting audio files with SoX, managing disk space, adding hard systems, 623 235–236 disk, 339–341 filter messages, in Evolution, 285 Groff documents, 211 managing disk space, checking, filtering firewalls. see also iptables listening to music in Linux, 343–346 firewall, 474 219–220 managing disk space, using RAID Finch command-line messaging software. see software packages, disks, 341–343 client, 291 in different formats mounting, 329–338 find command Totem video player, 256 moving, copying, and deleting deleting user accounts, 387–388 troubleshooting Xine, 256 files, 138–139 finding disk consumption, forums overview of, 130–132 345–346 Fedora Project, 12 partitions, 58, 327–329 Find Network Printer, Printer getting help from, 18 permissions, 136–138 Configuration window, .forward file, redirecting mail, relabeling when changing 612–613 670–671 SELinux status, 359 finger command, security issues, forward search (Alt+n) keys, 118 restoring entire, 457–458 385–386 FOSS (free and open-source software) using file-matching fingerprint reader, authentication, 41 community, 5 metacharacters, 134–136 Firefox Foundation for a Free Information using file-redirection changing themes, 276 Infrastructure, 218 metacharacters, 136 configuring to use proxy, fragments, iptables firewall, 487 using metacharacters and 603–604 free and open-source software (FOSS) operators, 134 extending, 274–276 community, 5 Windows-based vs., 132 features of, 267–271 free software, culture of, 18 File Systems tab, System Monitor, 347 migrating to, 204 Free Software Foundation, 5 File Transfer Protocol (FTP) clients, securing, 276–277 OpenPrinting 266 setting Squid server as proxy site, 609 File Transfer Protocol over Secure server, 596 freshen option (-F), rpm packages, 169 Shell (SFTP), 684 setting up, 272–274 Freshmeat website, 153 tips for using, 277–278 Frozen Bubble game, 262

819

944967bindex.indd 819 2/27/11 10:39:06 PM G

fstab file, 332–336 backing up personal data, GRANT command, MySQL database, ftape tools, for magnetic media, 445 435–436 788–789 FTP (File Transfer Protocol) browsing files, 81–83 graphical text editors, 144–145 clients, 266 checking SELinux status, 359 graphics FTP (File Transfer Protocol) servers choosing during installation, 38 configuring WINE, 201 attributes of, 684–685 custom Fedora spin for, 17 enabling 3D desktop effects, commands for getting files with, customizing, 83–87 98–99 292–297 Empathy messaging client for, 291 Fedora Project, 12 copying files from, 302 example of, 78 working in Linux office, 214–216 history of, 684 exiting, 88–89 grep (general regular expression installing Fedora from, 45–47 features of, 79 parser), shell scripts, 409 online resources, 693 Fedora packaged with, 14 Groff, 209–212 overview of, 683–684 installing with live CD, 22–24, 810 group ID proxy services in Squid, 593 launching applications from top adding users with User setting up and maintaining using bar, 80–81 Manager, 372 vsFTPd. see vsFTPd (Very monitoring power usage on creating user accounts with Secure FTP Server) laptops, 349–350 useradd, 367–368 user types, 685 page layout with Scribus, 213–214 groups using gFTP window, 297–299 reaching shell from, 104–105 Apache configuration, 711 FTPS (File Transfer Protocol over remote printer configuration, MySQL command options, 765 Secure Sockets Layer), 612–614 MySQL server, 764 683–684 removing run-level scripts from, shadow password file for, 473 FTP/SSL (File Transfer Protocol over 423–424 user private group scheme, 373 Secure Sockets Layer), 683 running KDE programs on, 79 User Properties , 387 full backups, 442 switching to another user, 88 growisofs command, 447, 450–451 full-duplex support, sound cards, 221 switching windows from bottom grpconv command, 473 function bar, 81 GRUB (Grand Unified Boot Loader) checking order of commands Totem video player for, 256–257 adding new boot image, 70–71 typed in shell, 112 tuning video card and monitor, 101 boot screen, 67–68 command-line completion, 116 using Metacity , configuring, 37 keys, setting up virtual guests, 87–88 features of, 67 801–802 virtual workspaces, 79–80 getting started with installation, 25 fuser command, unmounting Gnome Device Manger, 31–32 initializing system, 413 NFS, 634 GNOME Do, 186–187 installing Fedora on Intel-based fuse-smb package, 636 GNOME text editor (), 144 Mac, 65–66 GNOME Volume Manager, 257–260 kickstart installation, 51 GnomeMeeting, 246 permanently changing boot G (Sticky notes), 145 options, 69–70 games, 182, 260–262 GNU (GNU is Not Unix), 5, 9, 18 reconfiguring after installation, 72 -editor window, Metacity, 88 GNU Image Manipulation Program recovering gedit (GNOME text editor), 144 (GIMP), 214 during installation with, 26 General Options tab, Add NFS Share spreadsheet, GNOME storing, 38 window, 622–623 desktop, 208 temporarily changing boot general regular expression parser Chrome Web browser, options, 68–69 (grep), shell scripts, 409 278–280 grub-install command, 26 General tab, preferences, 273 service, 290 GStreamer multimedia framework, 219 get file command, FTP, 294 Google website, for software guest accounts gFTP window, FTP, 297–299 packages, 153 configuring simple Samba ghostscript, printers supporting, 609 gopher protocol proxy service, server, 637 Gigabit switches, 534 Squid, 593 in FTP server, 685 GIMP (GNU Image Manipulation GParted utility, resizing Windows, Samba SWAT options, 642 Program), 214 55–56 setting FTP access for global environment GPG/DSA key, RPM package integrity, downloading files, for Apache Web server, 701–703 165–166 689–690 for Samba in SWAT, 640–645 Grand Unified Boot Loader. see guests, virtual GNOME desktop GRUB (Grand Unified Boot cloning, 802–803 adding users, 370–373 Loader) creating systems, 796–799

820

944967bindex.indd 820 2/27/11 10:39:06 PM H

installation media for creating, storing music and multimedia /home directory 795–796 on, 227 backing up with ZIP or gzipped managing systems, 799–800 troubleshooting Xine, 255–256 files, 436 managing using virtualization using RAID disks, 341–343 creating separate file system commands, 803–807 hard disks, checking quotas on partitions for, 65 viewing and using, 800–802 removing temp files defined, 131 GUI () automatically, 394 /etc/exports file, 624–625 administration tools, 14, 310–313 using du, 393 home page, Firefox, 272–273, 278 choosing install classes, 38 using quota, 388–393 HostnameLookups directive, Apache, GNOME desktop. see GNOME hard drive 718 desktop backup to additional, 444, hostnames login to Fedora, 76–77 451–452 beginning installation, 35 MySQL tools, 762–763 installing Fedora from, 29 command-line completion, 116 reaching shell, 104–105 hardware configuring network clients, 582 reorganizing/removing run-level checking before installing Fedora, in /etc/exports, 625–626 scripts from, 423–424 23, 41, 323 identifying other computers, troubleshooting desktop startup, choosing wireless, 544–548 539–540 99–100 configuring modules, 324–326 selecting for installation, 25 tuning video card and monitor, 101 displaying information from live setting lookups in Apache, 718 X Window System, 8–9 CD, 31 setting up proxy clients, 602 Gweled game, 262 initializing system by booting, 413 sharing NFS file systems, 622 gzip file formats Linux support for every type of, 8 hosts backing up home directory managing with DeviceKit, configuring Apache virtual, with, 436 323–324 731–732 installing software in, 180–181 profile, running Fedora Samba SWAT options, 642–643 types of, 177 Firstboot, 40 hosts. allow file, 488–490 gzip utility, compressing package setting up for LANs, 533–534 hosts. deny file, 488–490 files, 176 testing devices from live CD, 32 HTML messages, Thunderbird, 286 troubleshooting Fedora HTTP (HyperText Markup Language) installation, 73 configuring access control in H virtualization, 794 squid.conf, 597–598 H323 protocol, Ekiga supporting, 246 Hardware Abstraction Layer (HAL), configuring logging in Apache, hackers, 5 31, 323–324 718–719 HAL (Hardware Abstraction Layer), Hash Message Authentication Codes configuring port numbers in 31, 323–324 (HMAC), IPsec, 585 squid.conf, 600 hald daemon, 324 headers, SpamAssassin checking format, 178 halt command, 426 mail, 674 identifying content directories in handlers, mapping file extensions in help Apache, 713 Apache, 726 Linux, 10, 18 installing Fedora from, 45–47 hard disks shell, 111 installing Fedora from Web page adding new, 339–341 hide option, sharing NFS file address, 29 booting installation from, 42–43 systems, 623 proxy services in Squid, 592 checking computer resources for hierarchy response codes, 727–728 virtualization, 794 cache, 599–600 status codes, 723 checking system space, 343–346 Linux file systems, 130–131, HTTPd, 696 creating virtual guest system, 798 326–327 httpd server, Apache doing simple backup with déjà- history, checking in Firefox, 270 analyzing traffic, 741 dup on different, 436–438 history command configuration files at startup, 734 installation, 47 command-line recall, 117–119 defining number of processes, 704 managing with DeviceKit, rerunning commands, 113 quick-starting, 698 323–324 history list, command-line recall selecting modules in httpd.conf, partitioning. see partitioning your with, 118–119 706 disks HMAC (Hash Message Authentication setting server root directory, 702 space consumed by caching, 599 Codes), IPsec, 585 starting and stopping server, $HOME directories, configuration 734–736 files, 315

821

944967bindex.indd 821 2/27/11 10:39:06 PM I

httpd.conf. see Apache Web server, INSERT INTO command, MySQL e‑mail. see e‑mail configuring table, 776 Evolution e‑mail, 282–286 httpd-tools package, 698–699 insmod command, loading getting files with FTP, 292–299 hubs (repeaters), LAN hardware, 534 modules, 326 getting files with wget, 299–301 HyperText Markup Language. see install media instant messaging, 289–291 HTTP (HyperText Markup about, 809–810 iptable firewall examples, 480–484 Language) choosing installation method, 27 mail readers and managers, 288 creating kickstart file, 49 monitoring server activities. see creating virtual guests with virt- monitoring Web server I install, 797, 805 activities ICMP filter, Firewall Configuration getting for virtual guests, 795–796 newsgroups, 289 window, 476 understanding Fedora, 22 radio with Rhythmbox, 229 ICMP protocol, smurf attacks using, using Pungi for building, 73 remote file copy with scp, 302 503–504 install modes, choosing Fedora, remote login, file copy and ICQ protocol, support for, 290 34–35 execution, 302–303 id command installation, Fedora remote login/remote execution checking login session, 105–106 alternatives for starting, 42–45 with ssh, 301–302 SELinux, 359 authentication, 40–41 sharing files with BitTorrent, “if.then” statements, in shell scripts, beginning, 33–39 291–292 403–406 choosing install mode, 34–35 testing connectivity from live IKE (Internet Key Exchange) protocol, choosing method, 27–29 CD, 32 IPsec, 584, 586 dual-boot Linux and Windows, text-based mail programs, images 54–58 287–288 adding new GRUB boot, 70–71 easy, 14 Thunderbird e‑mail client, creating vector graphic, 215 going forward after, 41–42 286–287 manipulating with GIMP, 214 install media for, 22, 45–47 Web browser options, 267–268 mounting CD or DVD, 336–337 on Intel-based Macs, 65–67 Web browsers, text-based, taking screen captures, 214–215 kickstart, 48–53 280–281 taking videos and on laptops, 30 Web browsing with Chrome, snapshots with Cheese, overview of, 21–22 278–280 248–249 partitioning disks, 58–65 Web browsing with Firefox. see using digital camera, 257–260 quick, 24–26 Firefox Web browser IMAPv4 (Internet Message Access RAID disk setup during, 342–343 Internet, connecting to Protocol) RHEL, 22 configuring VPN connections. getting mail from server, 677–680 running Fedora Firstboot, 39 see VPN (Virtual Private message transfer function, 656 spinning own, 73–74 Network) connection setup Impress, OpenOffice.org, 204 troubleshooting, 71–73 LANs, 577–578 include line, sendmail.mc file, 662 using Fedora 14 Live CD, 22–24 setting up Linux as proxy server incoming mail using GRUB boot loader, 67–71 using Squid. see Squid in Postfix, 673 using live CD, 30–33 setting up Linux as router, SpamAssassin checking, 674–675 VNC install, 48 578–583 incremental backups, 443 instant messaging and chats, 266, Internet Key Exchange (IKE) protocol, IndexIgnore directive, Apache, 725 289–291 IPsec, 584, 586 indexing, Apache server options, Intel-based Mac, installing Fedora Internet Message Access Protocol 723–725 on, 65 (IMAPv4) IndexOptions directive, Apache, intelligent PDFs, 213 getting mail from server, 677–680 723–724 interfaces message transfer function, 656 info command, shell, 111 enhancing iptables firewall, 487 Internet Printing Protocol (IPP), info grub command, GRUB, 67 firewall configuration, trusted, 476 CUPS, 608, 613 information_schema database, Samba SWAT option, 641 Internet Protocol SECurity. see MySQL, 774 shell, 104–109 IPsec (Internet Protocol init program, starting, 413–414 Internet SECurity) initializing system, 413–415 applications and commands, (IRCaaaaa) , 215 265–267 protocol, Pidgin support Ink/Toner levels, Printer Configuration caching. see caching services, for, 290 window, 611 Squid interoperability, 10

822

944967bindex.indd 822 2/27/11 10:39:07 PM L

intrusion attacks, 500–501, 508–510 ISCSI initiator, Fedora installation, 36 KDE Plasma Desktop. see KDE IP addresses ISO images desktop binding in Apache, 706 backing up file system with, 441 KDE text editor (), 145 classes of, 559 building own using Pungi, 18, 73 kdegames package, 263 classless inter-domain routing, burning to CD with K3b, 241–242 KeepAlive directive, Apache, 702 560–562 downloading for Fedora KeepAliveTimeout directive, configuring DHCP server, 541, 749 installation on 64-bit PCs, Apache, 703 configuring IP masquerading with 17, 810 Kerberos iptables, 485–486 ISO9660, 436, 447–448 configuring simple Samba configuring LAN interface, setting up install servers, 47 server, 637 536–538 writing backup CDs or DVDs with enabling authentication, 40–41 configuring Linux as router, 579 growisofs, 450–451 kernel getting, 562–563 ISPs, configuring Linux router, 579 at center of operating system, 6 identifying other computers, items, Xfce , 97 Linux, 5, 7–8 539–540 upgrade requirements, 27 kickstart installation, 50 Kernel Virtualization Module. netmasks, 560 J see KVM (Kernel understanding, 558–559 Jabber protocol, Pidgin support for, 290 Virtualization Module) IP masquerading Jamendo, 230 kernel-devel package, for source configuring Linux as router, Java applications, 362 code, 810 580–581 Java RPM, upgrade requirements, 28 keyboards with iptables firewall, 485–486 Java Runtime Environment, adding to choosing for installation, 25, 34 using NAT vs., 477 Firefox, 274–275 kickstart installation, 50 IP network, hostnames in /etc/ Job Options, Printer Configuration reconfiguring language of, 72 exports, 625 window, 611 shortcuts, 87–88 IP packet forwarding, 580 jobs, system tasks kfind command, file search, 94 IPP (Internet Printing Protocol), deleting scheduled, 429 kickstart installation CUPS, 608, 613 specifying when run, 427–428 choosing with ks, 35 IPsec (Internet Protocol SECurity) submitting scheduled, 428–429 performing, 48–53 configuring VPN connection viewing scheduled, 429 when to use, 29 with, 583 jobs command, background jobs, 125 klogd daemon, administrative log understanding, 583 junk mail controls, Thunderbird, file, 318 using in Fedora, 584–585 286–287 KMail, 282 using protocols, 583–584 kmid MIDI player, 234 iptables command, 478 KOffice package, 208 iptables firewall K Konqueror, 92–95, 268 configuring for DHCP, 747–748 K3b CD/DVD Burning Facility, messaging client, 291 configuring Linux as router, 239–242 Korn (ksh) shell, 104 580–581 Kate text editor (kate), 145 ks mode, kickstart installation, 35 creating rules, 478–480 KDE desktop KsCD audio player, 225–226 enhancing, 487–488 adding widgets, 95–96 ks.cfg file, kickstart installation, 53 example configurations, 480–484 custom Fedora spin for, 17 kudzu program, 323 Firewall Configuration window, customizing, 95 KVM (Kernel Virtualization Module) 474–476 file management with Dolphin added in Fedora 7, 195 logging with, 487 and Konqueror, 92–95 checking computer resources overview of, 474 installing, 90 for, 794 port forwarding with, 486 KOffice for, 208 defined, 793 SNAT or IP masquerading with, Kopete messaging client for, 291 installing packages, 795 485–486 launching applications, 91 managing virtual guests with, as transparent proxy, 486 live CD spin based on, 24 803–807 troubleshooting Samba server, 653 overview of, 89–90 kwrite (KDE text editor), 145 turning on, 477–478 packaged with Fedora, 14 understanding, 485 running GNOME programs on, 79 IPv4 networking, 477–478 switching windows, 92 L IPv6 networking, 477 virtual desktops, 92 language IRC (Internet Relay Chat) protocol, virtual workspaces, 79–80 choosing for installation, 25, 34 Pidgin support for, 290 defining in Apache, 725–726

823

944967bindex.indd 823 2/27/11 10:39:07 PM L

language (continued) Linux LoadModule directive, Apache kickstart installation, 49 advantages of, 9–10 configuration, 706–707 reconfiguring keyboard, 72 commands. see commands local DVDs, installing Fedora LanguagePriority directive, common features, 7–9 from, 29 Apache, 726 creating virtual guests, 796 local printers, configuring, 610–612 LANs (local area networks). see also dual-boot Windows and. see dual- local users, vsFTPd, 690 WLANs (wireless LANs) boot Linux and Windows LOCAL_DOMAIN option, sendmail.mc adding Windows computers to, file system. see file systems, Linux file, 665 540–541 login to, 76–77 locating commands, 110–113 configuring TCP/IP for, 535–540 overview of, 3–4 locations connecting to Internet. see also rooted in Unix, 6–7 HTTP content directories in Squid, 577–583 understanding, 5 Apache, 713 equipment and setup, 534–535 Linux, system administration server types in DHCP server, 750 hardware setup, 533–534 adding hard disk, 339–341 used by Posfix service, 673 Linux network connectivity, 8 checking disk space, 343–346 lockd daemon, nfs service, 628 troubleshooting, 563–566 configuring hardware, 323–326 log files understanding, 532–533 creating file system with mkfs administrative, 318 watching traffic with Wireshark, command, 338–339 overview of, 490 569–574 managing file systems, overview, redirecting to loghost with laptops 326–329 rsyslogd, 491–493 encrypted file systems for, 332 monitoring system performance, tracking messages with logwatch, installing Fedora on, 30 346–351 494–495 monitoring power usage on, mounting file systems, 329–338 troubleshooting installation, 72 348–351 overview of, 322–323 understanding messages, 493–494 LaTeX, 209–212 using RAID disks, 341–343 understanding rsyslogd LDAP passwords, authentication, , 5, 7 daemon, 491 40–41 Linux HOWTOs, 223 Log out button, exiting GNOME, legal issues Linux office 88–89 multimedia in Linux and, creating DocBook documents, LogFormat directive, Apache, 217–218 212–213 719–721, 740 publishing content on Web creating documents in Groff or logging server, 716 LaTeX, 210–212 configuring Apache for HTTP, video and Linux, 250–251 displaying PDF files, 208–209 718–721 less command, 109 page layout with Scribus, 213–214 debugging Squid using, 600 less than (<), file-redirection, 136 use scanners driven by SANE, 216 monitoring Web server errors, let command, and spacing, 403 working with graphics, 214–216 739–740 lftp command, FTP file copying, Linux office suites monitoring Web server hits, 740 293–294 AbiWord, 207–208 reasons to use Linux on libdvdcss package GNUmeric, 208 WLANs, 542 issues on distribution of, 251 KOffice, 208 Samba SWAT options, 643 using Totem movie player, 256 OpenOffice.org, 203–207 sendmail, 659 libselinux package, SELinux, 357 TextMaker, 208 using iptables for, 487 libvirtd (virtualization service), Writer, 207 vsFTPd activities, 692 starting, 795 Linux Software Map format, 177 xinetd advantages, 425 libvorbis codec, 220 Listen directive, binding IP Logical Unit Number, 447 licenses addresses in Apache, 706 login GNU public, 18 Live Bookmarks, Firefox, 269–270 checking information about for nonfree wireless cards, 546 live CDs. see Fedora 14 Desktop session, 105–106 for patented codecs, 250–251 Edition Live CD enabling remote, 301–303, 510 running Fedora Firstboot, 39 livecd-creator FTP server, 684–685 lighttpd Web server, 696 building live media with, 73–74 initial scripts for, 376 limiting building own live CDs, 18 launching remote X application, 191 iptables firewall option, 487 creating live CDs with, 11–12 to Linux, 76–77 load factor, run-level script Livna.org repository, 157 quick-starting, 686–687 behavior, 420–421 LOAD DATA command, MySQL troubleshooting desktop link files, KDE desktop, 93 database table, 777–778 startup, 100 text-based browser, 280 loadable modules, 324–326

824

944967bindex.indd 824 2/27/11 10:39:07 PM M

login, administrative Evolution as preferred. see media, selecting backup other, 318–319 Evolution e‑mail additional hard drive, 451–452 root user. see root user participating in newsgroups, 289 comparing, 444 understanding, 319 setting to filter spam, 677 magnetic tape, 445–446 using PolicyKit to assign privilege, text-based, 287–288 overview of, 444 321–322 mail server, setting up writable DVD and CD drives, using sudo to assign privilege, configuring sendmail, 660–672 446–450 319–321 getting mail, 677–680 /media directory, 131 login name, not using for getting mail from (POP3 or mediacheck, for DVDs, 35 passwords, 470 IMAPv4), 677–680 MeeGo desktop, 16, 97 LogLevel directive, Apache, 718– installing and running sendmail, memory 719, 739–740 656–659 checking for virtualization, 794 logwatch facility, 494–495 introducing Postfix, 672–673 displaying information from live lossless format, 220 managing e‑mail, tasks, calendars CD, 31 lp user, administrative login, 319 with Zarafa, 681 message files lpc command, printers, 615 overview of, 655 adding to directory on vsFTPd lpr command, printers, 615 SMTP and sendmail, 655–656 server, 691–692 lprm command, removing print using SpamAssassin, 674–677 organizing in Evolution, 285 jobs, 616 mail service, select alternative, understanding logs, 493–494 ls command 352–353 messaging, instant, 266, 289–291 creating directories, 133 mail transfer agents. see MTAs (mail metacharacters defined, 132 transfer agents) file-matching, 134–136 listing contents of home mail user agent (MUA), 281, 656 searching text in vi text editor, directory, 107 mail user, as administrative login, 319 143–144 navigating vsFTPd site, 693 mailbombing, protecting against, shell command-line, 110 viewing file permissions, 137 501–502 using, 134 lsmod command, 32, 324–325 mailboxes, accessing, 678 Metacity window manager, GNOME, text-based browser, 280 mailertable file, 667 87–88 LyX editor, 212 mailfile script, 394–396 metadata, setting up yum.conf, make command, sendmail 155–156 configuration files, mget file. command, FTP, 295 M 669–670 Microsoft Office, migrating to MAC (Mandatory Access malware, and Windows OS users, 9 OpenOffice.org from, 204 Control), 354 Managed Wireless LANs, 533–534 Microsoft Windows. see Windows OS Mac OS X Mandatory Access Control (MAC), 354 MIDI (Musical Instrument Digital installing Fedora on Intel-based, manuals Interface) audio players, 234 65–67 Fedora, 11 MIME types running applications in Red Hat Enterprise Linux, 12 enhancing for Apache web server, Linux, 194 mappings, NFS shared file systems, 726–727 setting up DHCP client in, 757 626–627 Nautilus file manager, 83 MacBook Pro laptops, 545–546 marketing project, Fedora Project, 11 setting default index files in Madwifi project, 545 Masquerading interface, Firewall Apache, 717–718 Magnatune, 230 Configuration window, 476 MimeMagicFile directive magnetic tape, as backup media, Master Boot Record (MBR), storing setting MIME type defaults, 718 444–446 boot loader in, 38 setting responses to browsers in mail command Math, OpenOffice.org, 204 Apache, 729–730 accessing mailboxes in Linux, 678 MaxClients, Apache, 704–705 Minimal installation, 38 as mail reader, 288 maximum load, Apache, 703–705 Minimize/restore all windows, plain-text messages using, 287 maximum transfer unit (MTU), 538 keyboard shortcuts, 87 reading mail from command MaxKeepAliveRequests directive, MinSpareServers, Apache, 704–706 line, 266 Apache, 703 MinSpareThreads, Apache, 704–706 mail delivery agents (MDAs), 656 MaxRequestsPerChild, Apache, minus sign (-) $MAIL environment variable, 704–706 resizing text on Web page, 270 110, 288 MBR (Master Boot Record), storing starting background processes, mail readers boot loader in, 38 125 e‑mail clients for Fedora, 281–282 MDAs (mail delivery agents), 656 turning off file permissions, 137 media, install. see install media mirroring, RAID, 341–342

825

944967bindex.indd 825 2/27/11 10:39:08 PM M

mkdir command, 132–133, 629 mounting file systems music mkfs command, 338–339, 458 to other kinds of file systems, 329 automatically playing CDs, 226 mkisofs command, 436, 442, 447 partitioning, 58, 341 choosing audio players, 225–226 mm macros, Groff, 210 removable media, 335–337 configuring sound cards, 221–225 /mnt directory, mounting removable Samba directories in Linux, converting audio files with SoX, media, 335–336 651–652 235–236 Moblin desktop environment, 97 supported types, 327–328 creating own CDs, 239–243 mod_ssl package, troubleshooting unmounting, 337–338 extending freedom to codecs, SSL certificates, 519 using fstab file, 332–334 218–219 modems, Linux network connectivity, 8 using mount command, 334–335 extracting and encoding, 236–239 modinfo command, 32, 325 viewing partitions used, 327–328 legal issues, 217–218 modprobe command, 325–326 Windows, 337 listening to, 219–220 modules mounting NFS file systems troubleshooting CD-ROMs, 227 configuring, 324–326 automatically, 630–632 using MIDI audio players, 234 configuring with related services, on demand, 633–634 using ogg123, mpg321, and play 733–734 manually, 629–630 command-line players, loading Apache configuration files overview of, 628–629 233–234 for, 711 unmounting, 634–635 using Rhythmbox, 227–230 loading as iptables rules are mouse pointer, using virtual using XMMS Audio Player, added, 478 guests, 801 230–233 Samba SWAT options, 643 moving files Musical Instrument Digital Interface selecting Apache, 706–711 commands for, 138–139 (MIDI) audio player, 234 Mondo Rescue, backup tool, 442 KDE desktop, 93 mute, adjusting sound levels, 224 monitoring moving windows, KDE desktop, 92 mutt mail reader kickstart installation, 50 MP3 music defined, 282, 288 reasons to use Linux on getting free codecs, 218–219 reading mail from command WLANs, 542 multimedia and legal issues in line, 266 system performance, 346–351, 469 Linux, 217–218 text-based mail using, 287 testing from live CD, 32 playing, 220 mv command, moving files, 138–139 tuning, 101 playing with mpg321 my.cnf configuration file monitoring Web server activities command, 233 choosing options, 767–768 analyzing traffic, 741–742 support in Rhythmbox, 228 creating, 766–767 displaying server information, support in XMMS Audio setting MySQL options, 765 736–737 Player, 230 using sample, 770–771 displaying server status, 737–738 mpg321 command, 226, 233–234 MyISAM tables, 772 further security of server-info MPlayer Plugin, adding to Firefox, 274 myisamchk command, 790–792 and server-status, 739 MPM (Multi-Processing Module), mysql command, 772–773 logging errors, 739–740 Apache, 703–706 MySQL database server logging hits, 740 mput file. command, FTP, 295 adding administrative users, statistics packages for, 742 MSN Messenger, 290 764–765 more than (>), file-redirection, 136 MTAs (mail transfer agents) adding users and granting access, mount command mail server function, 656 788–789 displaying partitions for Linux other mail servers for Fedora, 657 backing up databases, 790 system, 327–328 Postfix, 672–673 checking and fixing databases, mounting file systems, 334–335 sendmail. see sendmail 790–792 mounting removable media, mtools, running DOS applications confirming GUI tools, 762–763 335–337 in Linux, 195–196 confirming that it is working, mounting Samba directories in MTU (maximum transfer unit), 538 761–762 Linux, 651–652 MUA (mail user agent), 281, 656 finding MySQL packages, 760 mounting to other kinds of file multimedia issues, 217–218 MySQL databases, displaying, systems, 329–332 Multi-Processing Module (MPM), 783–786 mounting Windows file Apache, 703–706 MySQL databases, working with, systems, 337 multitasking system, Linux as, 7–8, 771–778 options for mounting NFS file 108–109 MySQL records, updating and systems, 632 multiuser systems deleting, 787–788 using for NFS file systems, Linux for, 7–8 MySQL tables, altering structures 628–630 partitioning, 58–59 of, 786–787

826

944967bindex.indd 826 2/27/11 10:39:08 PM N

MySQL tables, understanding, National Security Agency (NSA), NetworkManager 779–783 Mandatory Access command line, 529–531 overview of, 759–760 Control, 354 configuring LAN connection, revoking access, 789–790 Nautilus file manager, 81–83, 651 536–537 setting options, 765–770 navigating vsFTPd site, 693 connecting to wired network, 529 starting, 761 ncftp command, FTP, 295–297 connecting to wireless network using mysql user/group NDISwrapper, 545 from, 527–529, 542 accounts, 764 netbios, Samba SWAT options, 641 improvements in Fedora 13, 16 using sample my.cnf files, , 477 setting up VPN, 531–532 770–771 netmasks, IP address, 560 starting service, 526–527 mysql package, 760, 764 netstat command, 506–507 newsgroups mysql session Network Address Translation (NAT) Fedora Weekly News, 12 adding users and granting access services, 477, 580–581 getting help from, 18 to MySQL database, network backups, 443–444 participating in, 289 788–789 network cards, installing from other NFS (Network File System) altering structure of MySQL media, 45 beginning installation, 45–46 tables, 786–787 network command, kickstart installing Fedora from shared displaying MySQL database installation, 50 directory using, 29 records, 783–786 Network Configuration window setting up install server, 46–47 displaying selected columns, 785 configuring LAN connection, 536 NFS (Network File System), setting up revoking user access to MySQL configuring static IP addressing in file server database, 789–800 wired network, 529 automatically mounting NFS file sorting data, 785–786 identifying other computers, system, 630–632 updating and deleting MySQL 539–540 manually mounting NFS file records, 787–788 network connection setup system, 629–630 MySQL Workbench, GUI tool, 762 IP addresses, 558–563 overview of, 620–621 mysql_install_db command, 771 kickstart installation, 50 sharing file systems. see NFS file mysqladmin command LANs. see LANs (local area systems, sharing adding administrative users, networks) unmounting NFS file systems, 764–765 NetworkManager, 526–532 634–635 confirming MySQL server is overview of, 525 unmounting remote NFS file working, 761–762 testing from live CD, 32 system, 338 creating database with, 774 troubleshooting LANs, 563–566 using, 628 mysqld daemon, 767–770 troubleshooting wireless LANs, using autofs to mount NFS mysql-devel package, 760 566–569 file systems on demand, mysqldump command, backup, 790 watching LAN traffic with 633–634 mysql-libs package, 760 Wireshark, 569–574 NFS file systems, sharing mysql-server package, 760 wireless LANs. see WLANs choosing what to share, 620 mysqlshow command, 761–762 (wireless LANs) configuring /etc/exports file, network desktop, Konqueror, 95 624–627 network interface cards. see NICs exporting shared file systems, N (network interface cards) 627–628 !n (run command number), 117–118 network servers, Linux, 8 overview of, 621 naming conventions network services starting nfsd daemons, 628 canonical name for main Apache adding Amanda, 462–463 using NFS Server Configuration server, 712 disabling, 509–510 window, 621–624 mount points, 631 protecting against intrusion NFS Server Configuration window, name for main Apache server, 712 attacks, 508–510 621–624 new virtual guests, 797 network sniffers, protecting Web nfs service, turning on, 628 packages, 175–177 servers from, 511–519 nfsd daemon, 628–629 running remote X application, network topologies, LAN, 533–534 nfsnobody user/group, NFS shared 189–190 Network traffic applet, 86 file systems, 627 shell variables, 399 networking NICs (network interface cards) strong passwords, 470–471 connectivity features in Linux, 8 LAN equipment setup, 535 users, 366 enabling in Gnome desktop, 81 LAN hardware, 534 NAT (Network Address Translation) reconfiguring after installation, 72 Linux network connectivity, 8 services, 477, 580–581 user name for, 77 star topology, 533

827

944967bindex.indd 827 2/27/11 10:39:08 PM O

NIS groups, hostnames in /etc/ Free Software Foundation, 5 creating server configuration, exports, 626 FTP servers, 693 590–591 nmap, intrusion attacks using, 500 gaming, 260–263 overview of, 586–587 nmbd daemon, 635 GRUB wiki, 67 security enhancement with nmcli command, NetworkManager, hardware checks after installation, eurephia, 592 529–531 41 VPN connection with nohup command, as background hardware supported by RHEL, 31 NetworkManager, 532 command, 126–127 Linux Foundation, 5 operating systems nologin, adding user accounts to Linux security, 469–470 reasons for partitioning, 58–59 servers, 379–380 open source software description, understanding, 6–7 noprobe mode, installation, 35 18 operators nroff command, 210 PowerPC and Fedora, 21 for test expressions, 404–406 NSA (National Security Agency), printers, 609 using, 134 Mandatory Access Pungi project, 18, 73 options Control, 354 RAID in Linux, 443 Apache configuration, 713–714 numbers, preceding vi commands Red Hat Enterprise Linux, 10 DHCP configuration, 751–754 with, 144 scanners, 216 MySQL configuration, 765–770 numeric data types, MySQL columns, SELinux, 361 shell command-line, 109–110 781–783 SpamAssassin, 675 OR operator, MySQL records, 784 nVidia graphics card, 98 initialization system, Oracle Office, 205 415 ORDER BY operator, MySQL records, troubleshooting desktop, 101 785–786 O trusted third-party certificate os level, Samba SWAT options, 644 Audio signers, 514 Oscar, Pidgin support for, 289–290 defined, 220 , 247 OSTYPE line, sendmail.mc file, 662 encoding music CDs to, 238–239 Window applications in Linux, Other ports, Firewall Configuration playing with ogg123 command, 197–198 window, 476 232–233 WINE user guide, 202 outbound mail support in XMMS Audio Player, wireless cards, 545 in Postfix, 673 230–231 Xfce desktop environment, 97 in sendmail, 665–666 ogg123 command, 226, 233–234 XMLTV Project, 246 overrides, Apache, 713–714 oggenc command, 238 Zarafa mail server, 681 ownership Okular PDF-viewing application, 209 OOXML (Open Office XML) maintaining in backup, 438–439 OLPC (One Laptop Per Child), Fedora format, 205 of uploaded files from anonymous Project, 11 open files, KDE desktop, 93 users, 691 One Laptop Per Child (OLPC), Fedora The Open Group, 7 Project, 11 open mail relaying, deactivated by one-command actions, testing default, 503 P with, 406 open relays, spammers using, 665 package-cleanup, yum-utils online resources open source software, 18 package, 160 Acronis Disk Director suite, 55 OpenOffice.org PackageKit AES algorithm, 512 applications, 204–206 adding software packages after AiGLX project, 98 overview of, 203–204 installation, 152, 162–163 ClamAV virus scanner, 674 using Writer, 207 getting Fedora software updates, DocBook, 213 OpenSCAP (Open Security Content 160–162 Dogtag certificate system, 515 Automation Protocol), 511 installing and updating packages Fedora Documentation project, 11 openssh packages. see SSH (Secure with, 14–15 Fedora forum, 12 Shell) package sendmail updates, 657 Fedora Installation Guide, 29 Openswan, VPN connections, 583 packages. see RPM software packages, Fedora Live CD project, 18 OpenVPN managing; software Fedora Project, 10 before configuring, 587 packages Fedora spins, 22 configuring VPN connection with, packet filter. see firewalls Fedora Weekly News, 12 583 page layout finding WINE applications, 202 creating client configuration, with Linux documentation tools, Firefox Web browser, 271 591–592 209–210 Foundation for a Free Information creating public key infrastructure, with Scribus, 213–214 Infrastructure, 218 587–590

828

944967bindex.indd 828 2/27/11 10:39:08 PM P

panel, GNOME creating user account with improving by reducing iptable adding another panel, 86 useradd, 366–368 rules, 487 adding applets to, 85–86 enabling authentication, 40–41 problems with Firefox add-ons, 276 adding application launcher to, expiration settings for, 383 RAID0 improving disk, 341 84–85 kickstart post-installation, 53 performance, monitoring system adding drawer to, 86 Linux security checklist, 467 computer usage with System changing properties, 87 login, 76–77 Monitor, 346–347 Metacity keyboard shortcuts for, 87 mysql, 772–773 CPU usage with top, 347–348 modifying, 84 MySQL server administrative overview of, 346 parent caches, in squid.conf, 599 user, 764–765 power usage on laptops, 348–351 parent directory, 107 protection of, 470–473 permissions parity, implemented by RAID, 342 remote backup with rsync, 440 checking, 108 partition table, displaying with remote X, 191 choosing Apache’s user and fdisk, 62 resetting user, 366, 382–383 group, 711 partitioning your disks Samba server, adding user, 649 Linux security checklist for, 468 advantages of, 64 Samba server, configuring, Linux vs. Windows-based file choosing strategy, 36–37 637, 641 systems, 132 creating RAID device, 61 Samba server, troubleshooting, 654 running remote X applications, creating when adding new storing in personal password 188–190 disks, 341 vault, 512 setting access options and deleting, adding and editing, using ssh, sftp and scp overrides in Apache, 60–61 without, 498–499 713–714 installing Fedora on Intel-based pasting setting FTP access using file and Mac, 65 files, KDE desktop, 93 directory, 689 kickstart installation, 51–52 text in command lines, 115 sharing NFS file systems, 622 organization of file system, patents testing your Samba, 650 327–329 multimedia and legal issues in understanding file, 136–138 reasons for, 58–60 Linux, 217–218 permissive mode, SELinux policy reconfiguring after installation, 72 playing video and, 249 defined, 355 resizing Windows, 54–56 PATH environment variable overriding default settings to reviewing and modifying layout, 37 adding, 129 enable, 358 starting installation, 25 getting help using shell, 111 personal password vault, 512 tips for, 63–65 locating commands, 111–113 PGP/GPG (Pretty Good Privacy/GNU using Disk Setup during setting system profiles, 378 Privacy Guard), Evolution installation, 58–59 path name, 715–716 e‑mail, 284 using fdisk utility, 62–63 pax command, 464–465 phishing, used by Spammers, 674 using Windows partitions from PCI devices Picture settings, tvtime, 245 Linux, 56–58 displaying information from live PidFile, configuring Apache, 702 passwd command CD, 31 Pidgin, instant messaging with, changing password later, 36 sound cards, 221 289–290 resetting user password, 51, 383 PCL (Printer Control Language), 609 ping, determining DDoS attack with, setting initial password, 366 PCMCIA slots, installing Fedora on 504–505 setting password with, 471 laptops with, 30 pipe (|) command, 109, 119 Password Info, User Properties dialog PDF (Portable Document Format) PKI (public key infrastructure) box, 387 files creating for OpenVPN passwords. see also root passwords displaying, 208–209 configuration, 587–588 adding GRUB, 37 outputting to other formats with selecting before configuring adding Windows (SMB) printer, 614 Writer, 207 OpenVPN, 587 choosing good, 470–471 use Scribus to produce intelligent, Places menu, Gnome desktop top connecting to wireless network 213–214 bar, 80 from NetworkManager, PDF format, 178 plain text format, 178, 314 528–529 percent sign (%), 126 play command creating user account from performance playing music with, 233–234 Account Information Apache methods for checking using command-line player, 226 dialog, 369–370 Web server, 737–739 playback quality, sound cards, 221 creating user account with User Apache server processes, 703–704 Playlist Editor, XMMS Audio Manager, 371–372 Player, 232

829

944967bindex.indd 829 2/27/11 10:39:09 PM P

playlists, creating, 228, 254 position windows, KDE desktop, 92 Printer Configuration window plugins positional parameters, as shell configuring local printers, adding to Firefox, 273–275 variables, 400–401 610–612 enabling when setting up yum. POSIX (Portable Operating System configuring remote printers, conf, 156 Interface for Unix) 612–614 PulseAudio incorporating, 219 standards, 6–7 overview of, 609–610 plus sign (+) %post command, 53 printer setup in, 608 resizing text on Web page, 270 Postfix mail service, switching to, using printing commands, starting background processes, 125 352–353 614–616 turning on file permissions, 137 Postfix service, 657, 672–673 Printer Control Language (PCL), 609 policies, Printer Configuration Postscript format, 178, 609 Printer Options, Printer Configuration window, 611 pound sign (#) prompt, shell, window, 611 policy, SELinux 105, 398 printing documents with Groff, 211 changing, 359 Power Management applet, 349–350 Privacy preferences, Firefox, 271, default targeted, 353–354 poweroff command, runlevel, 426 273, 276 overview of, 356 PowerPC, 21 private IP addresses, configuring setting type of, 358 PPP over OpenSSH, for VPN Linux as router, 579 targeted, 354–355 connections, 583 private key, in public-key tools in SELinux for, 356 predfm script, desktop startup, 100 cryptography, 512, 519 using SELinux in Fedora, 356–357 Pre-eXecution Environment (PXE), 44 private-key cryptography working with SELinux on preferences creating PKI for OpenVPN, server, 360 3D desktop effects, 98–99 587–590 policycoreutils package, SELinux, 357 automatically playing CDs, 226 overview of, 511–512 PolicyKit, 321–322 detecting sound card driver, SSH using, 495 POP3 (Post Office Protocol), 656, 223–224 privileges, assigning administrative, 677–680 Evolution e‑mail, 284 319–322 pop-ups, Firefox blocking by default, extracting music CDs with Sound /proc directory, 131 270, 276 Juicer, 237–238 process ID, viewing for background port forwarding Firefox, 272–274 job, 125 Firewall Configuration Firefox configuration, 278, processes window, 476 603–604 checking system activity, 108–109 using iptables for, 486 GNOME desktop, 83–87 defined, 108 portable desktops, creating, 380–381 pop-ups in Firefox, 270 setting number of Apache, Portable Document Format. see Rhythmbox, 227–228 703–706 PDF (Portable Document simple Samba server, 636–637 starting background, 125–126 Format) files sound levels, 225 System Monitor, 347 Portable Operating System Interface Squid server as proxy server, 596 procmail for Unix (POSIX) Preferred Applications window, blocking mail with, 501 standards, 6–7 choosing mail reader, 282 used in Fedora as default MDA, 656 ports preferred master setting, Samba profiles, setting system, 378–379 configuring Firefox to use SWAT, 644 programming constructs, in shell proxy, 604 preupgrade package, 28 scripts, 403–409 Firewall Configuration window, print drivers, automatic installation prompt, shell, 105, 128–129 475–476 of, 16 proper names, avoiding in setting up DHCP server, 746 printer admin, Samba SWAT passwords, 470 setting up FreeIPA server, 520 option, 642 properties setting up proxy clients, 602 printer and printing setup adding Windows computers to setting up squid.conf file, choosing printer, 609 LAN, 541 595, 600 commands, 614–616 changing GNOME panel, 87 setting up vsFTPd behind Common Unix Printing modifying user accounts, 386–387 firewall, 693 Service, 608 protocol analyzers, protecting Web sharing NFS file systems, 622 configuring print servers, servers from, 511–519 sound card, 221–222 616–618 protocols troubleshooting mounting NFS overview of, 607 Linux network connectivity, 8 file system, 629 Printer Configuration window, Pidgin support for messaging, troubleshooting SSL 609–614 289–290 certificates, 519 printer setup, 608 Samba SWAT option, 643 Samba SWAT options, 643 using IPsec, 584–585

830

944967bindex.indd 830 2/27/11 10:39:09 PM R

proxy server mirroring with RAID1, 443 Refit, installing Fedora on Intel-based configuring client applications, using, 341–343 Mac, 65 602–604 RAM registry entries, tuning WINE, 201 configuring Linux as. see Squid checking for virtualization, 794 regular user proxy services, in Apache, 730–731 consumed by virtual guests, 797 becoming super user with su ProxyRequests directive, Apache, displaying information about, 31 command, 308–310 730–731 Fedora installation creating account for, 363–364 ps command, 108–109 requirements, 24 graphical administration tools, PS1 environment variable, shell partitioning layout 311 prompt, 128–129 requirements, 37 running xine as, 255 /public directory, /etc/exports setting Apache server regular users file, 624 processes, 703 setting FTP access for public-key cryptography. see also SSL RBAC (Role-Based Access Control), downloading files, (Secure Sockets Layer), 512 SELinux, 355 689–690 PulseAudio, 219 rcp command, legacy, 302 uploading files during vsFTPd Pungi, 18, 22, 73 read e‑mail, Evolution, 284 session, 690 put file command, FTP, 294 read list, Samba SWAT option, 642 relative path, checking directories, pwconv command, 473 real users, FTP server, 685, 689–690 106–107 pwd command realm, Samba SWAT option, 641 release intervals, RHEL, 12 creating directories, 133 reboot reliability, Linux, 9 defined, 132 changing runlevel, 426 remote backup, with rsync, 440–441 identifying directories, 106–107 after installation, 26 remote commands, 266 PXE (Pre-eXecution Environment), 44 recall, command-line, 117–119 remote login, 301–303, 510 receiving remote printers, configuring, 612– setting Evolution preferences, 284 614 Q tips for Evolution-email, 284–285 remote users, 623 record, setting sound card to, 225 remote X applications, running, :q! command, vi text editor, 142 QEMU, 197, 794 records, MySQL 188–193 displaying all or selected, removable media qemu-img, create option, 804 783–786 detecting, 324 qemu-img, info option, 803 displaying selected columns, 785 mount points for, 328 qemu-img, storage option, 804 Qmail, 657 sorting data, 785–786 mounting, 335–337 Quake 3 game, 262–263 updating and deleting, 787–788 remove option (-e), rpm, 169–170 Red Hat removing modules, 326 querying packages, with rpm, 170–173 forms Fedora Project, 10–12 repoclosure, yum-utils package, quick-start shift to Red Hat Enterprise 160 Apache Web server, 697–700 Linux, 12 repoquery, yum-utils package, 160 vsFTPd, 686–687 Red Hat Enterprise Linux. see RHEL repositories (Red Hat Enterprise Linux) adding yum, 156 quotacheck command, 390, 393 Red Hat Enterprise Linux 6 Security excluding when setting up yum. quotaoff command, 390–391 Guide website, 470 conf, 156 quotaon command, 390–391 quotas. see hard disks, checking Red Hat Linux, 3 in Fedora installation, 22 quotas on Red Hat Security and Identity finding useful software packages quotes, in sendmail, 662 Management website, in, 810 469–470 installing from other software, 38 Redirect directive, Apache, 722–723 installing software with Fedora, REDIRECT target, iptables as 152–153 R transparent proxy, 486 installing software with third- racoon command, configuring redirecting mail, 670–672 party, 152 VPNs, 586 Redundant Arrays of Independent security concerns when accessing, RAID (Redundant Arrays of Disks. see RAID 152 Independent Disks) (Redundant Arrays of repquota command, 393 backups to additional hard drives Independent Disks) rerunning, using shell, 113 using, 452 referer format, Apache log files, rescue mode, 35, 174 creating partitions to create 719–720 reserved words, 112 device, 61 resident drivers, 324

831

944967bindex.indd 831 2/27/11 10:39:09 PM R

resizing, Windows partitions, 54–56 NFS shared file system mapping overview of, 162 resolution, choosing for installation, 35 options, 626–627 querying, 170–173 Resources tab, System Monitor, 346 rootpw command, kickstart removing, 169–170 response codes, HTTP, 727–728 installation, 50–51 rescue mode, 174 restart command, Apache, /root/upgrade.log file, upgrading, 168 734–736 troubleshooting using PackageKit Add/Remove restart option, run-level script, installation, 72 window, 162–163 419–420 router, configuring Linux using rpm command, 164 restore command configuring network clients, verifying installed packages, backed-up files, 456–458 581–583 173–174 for legacy backup media, 452 configuring to use proxy, 604 verifying integrity, 165–166 reverse incremental search (Ctrl+r) enabling forwarding and Rpmfind website, 153 keys, 118 masquerading, 579–581 RPMFusion reverse search (Alt+p) keys, 118 overview of, 578 installing drivers for nVidia REVOKE command, user access to selecting IP addresses, 579 cards, 98 MySQL database, 789–800 routing OpenVPN server, 587 loading nonfree wireless, RHEL (Red Hat Enterprise Linux) RPM (RPM package manager) 545–546 characteristics of, 12 Fedora using, 13 RPMrepo.org repository, 157 choosing between Fedora and, format, 177 rsh command, legacy, 302–303 13–15 sendmail, 656 RSS news feeds, 269–270 hardware supported by, 31 storing applications for Fedora rsync command installation information, 22 in, 152 backup to additional hard overview of, 3–4 updating with yum command, 15 drive, 452 RHEL (Red Hat Enterprise Linux) 4 rpm command bandwidth limit option, 441 SELinux Guide, 356 defined, 152 restoring backed-up file with Rhythmbox, 226–230 freshening packages, 169 snapshots, 441, 452 Ritchie, Dennis, 6 installing RPM package, 166–168 simple backup with, 438–441 rlogin command, legacy, 302 installing software packages post- rsync service, enabling for FTP rm command, 138–139 installation, 152, 162–164 server, 510 rmmod command, 326 querying packages, 170–173 rsyslogd daemon Role-Based Access Control (RBAC), removing packages, 169–170 messages log file, 493–494 SELinux, 355 upgrading existing packages, 168 redirecting logs to loghost with, roles, SELinux users, 355 using, 164 491–493 /root directory verifying installed packages, system logging done by, 318 defined, 131 173–174 rules as home directory for root verifying RPM package integrity, creating quota, 392 user, 308 165–166 defining outgoing mail access, setting FTP access for RPM Fusion repository, 16–17, 157 665–666 downloading files, 689 RPM software packages, getting and Firewall Configuration root passwords installing window, 476 choosing and changing, 36 adding yum repositories, 156–157 redirecting logs to loghost with Fedora installation and, 25 configuring yum, 154–156 rsyslogd, 492–493 graphical administration downloading/installing with yum, spam filtering, 674 tools, 311 153–154 rules, iptable kickstart installation, 50–51 locations for, 152–153 configuring Linux as router, 581 using root user account, 308 overview of, 152–153 creating firewall, 478–480 root user running yum to download/install enhancing iptables firewall, 487 administrating Amanda as, 458 RPMs, 157–158 example configurations, 481–484 administrative commands, 314 using yum for listing packages, 159 understanding, 485 bad passwords and, 471 using yum to install packages Run Application window, 185–186 becoming super user, 308–310 locally, 158–159 run command containing string Linux security checklist for, 468 using yum-utils package, 160 (!?string), 118 login to Fedora as, 76–77 RPM software packages, managing run command number (!n), 117–118 moving, copying, and deleting freshening, 169 run levels, starting init program, 415 files as, 139 installing, 166–168 run previous command (!!), 118

832

944967bindex.indd 832 2/27/11 10:39:09 PM S

runlevel command, 426 submitting jobs, 428–429 running remote X with user- run-level scripts using at.allow and at.deny, 427 based, 192–193 adding, 423–425 using batch command, 430 Samba SWAT options, 641 changing behavior of, 420–421 using cron facility, 430–434 simple backups with rsync and managing xinetd services, 425 viewing jobs, 429 ssh and, 438 manipulating run levels, 426 scp command TFTP not securable, 686 re-organizing or removing, using with SSH service, 496–497 using iptables firewall. see iptables 422–423 using without passwords, 498–499 firewall starting, 416 screen captures, 214–215 using password protection, tracking changes made to, 421 screen command 470–473 understanding, 416–419 overcoming single shell using Postfix vs. sendmail, understanding what startup limitations, 124 672–673 scripts do, 419–420 switching virtual terminals, using Secure Shell package, 146–147 495–499 Scribus, page layout with, 213–214 vsFTPd, 687 S ScriptAlias directive, Apache, wireless LAN, 556 SAD (security association database), 721–722 security association database (SAD), IPsec, 584–586 scriptkiddies, 504 IPsec, 584–586 Samba file server search Security Enhanced Linux. see adding users, 648–649 e‑mail messages in Evolution, 285 SELinux (Security adding Windows printer via, KDE desktop files, 94 Enhanced Linux) 613–614 text using vi text editor, 143–144 security patches, Fedora, 11 checking status of shared using smart keywords in sed (Stream Editor) command, directories, 650 Firefox, 277 410–411 checking with SWAT, 648 sectool, for intrusion attacks, 508 SELECT all records(*), MySQL, 784 configuring shared printer, Secure Shell package. see SSH (Secure self-signed certificates, 515, 518 617–618 Shell) package SELinux (Security Enhanced Linux) configuring simple server, Secure Sockets Layer. see SSL (Secure checking login session, 106 635–639 Sockets Layer) checking status of, 358–359 configuring with SWAT, 639–647 security checking to see if enabled, editing smb.conf file, 647–648 checking after installation, 41 357–358 getting and installing, 636 checking log files, 490–495 for DHCP, 747–748 overview of, 635 concerns when accessing in Fedora, 356–357 setting up clients, 650–651 repositories, 152 getting, 357 starting service, 649 configuring simple Samba server, identifying user directories in testing permissions, 650 636–637 Apache, 715 troubleshooting, 652–654 connecting LAN to Internet learning more about, 360 Samba Web Administration Tool. and, 577 Linux security checklist, 469 see SWAT (Samba Web controlling access to services with overview of, 353–354 Administration Tool) TCP wrappers, 488–490 policies in, 355 SANE (), 216 Evolution e‑mail settings, 284 quick-starting Apache Web server saving Firefox features, 271, 274, and, 700 browsing information, Firefox, 273 276–277 for servers, 360, 510–511 partitions with fdisk, 62 identity management with tools, 356 /sbin directory, 131, 314 FreeIPA, 519–521 troubleshooting Samba server, 653 scalability, Linux, 9 IPsec protocols and, 584–585 types and roles, 354–355 Scan Removable Media, kickstart installation, 50–51 users, 355 Rhythmbox, 228 Linux security checklist, 467–470 for vsFTPd, 687 Scanner Access Now Easy Linux servers. see servers SELinux Administration window, 356 (SANE), 216 Linux software, 9 SELinux Policy Generation tool, 356 scanners, driven by SANE, 216 multiple partition advantages, 64 SELinux Troubleshooter, 356 scheduling system tasks NFS file server setup, 620, 628 selinx-doc package, for SELinux, 357 deleting jobs, 429 PDF files and, 209 selinx-policy-mls package, for overview of, 427 replacing Windows on desktop SELinux, 357 specifying when jobs are run, with Fedora for, 182 selinx-policy-targeted package, for 427–428 SELinux, 357

833

944967bindex.indd 833 2/27/11 10:39:10 PM S

semicolon (;), sequential commands, configuring print, 616–618 sharing files 120 getting mail from (POP3 or in NFS file systems. see NFS file sendmail IMAPv4), 677–680 systems, sharing adding user accounts, 668–669 protecting against DDOS attacks, using BitTorrent, 291–292 basic settings, 661–665 504–508 shell blocking mail with, 501–502 protecting against DoS attacks, arguments, 110 defining outgoing mail access, 501–504 background and foreground 665–666 protecting against intrusion processes, 124–126 getting domain name, 661 attacks, 508–510 background commands, 120 installing, 656–657 protecting with certificates and checking directories and introducing, 681 encryption, 511–519 permissions, 106–108 logging performed by, 659 scanning for security with checking login session, 105–106 mail server setup, 656–659 OpenSCAP, 511 checking system activity, 108–109 major releases of, 656 securing with SELinux, 360, command-line completion, overview of, 660 510–511 116–117 redirecting mail, 670–672 setting up FreeIPA, 520 command-line editing, 113–115 related programs in, 658–659 ServerSignature directive, command-line recall, 117–119 sending, and generating database Apache, 721 configuring, 127–130 files, 669–670 server-status page, Apache, configuring system-wide starting, 657–659 737–738, 740 options, 378 switching to, 352–353 ServerTokens directive, Apache, 702 environment variables, 110, using Postfix vs., 672–673 Service Configuration window, 121–124 virtual servers, 667 423–424 exiting, 109 virtual users, 667–668 service iptables save command, expanding arithmetic sendmail-cf package, 656–657 iptables firewall rules, 478 expressions, 121 sendmail-doc package, 656–657 services expanding commands, 120–121 Send/Receive button, Evolution, 284 controlling access with TCP getting help, 111 sequential commands, 120 wrappers, 488–490 history, 113 serial devices, Linux network Linux security checklist for, interface, 104–109 connectivity, 8 468–469 learning after installation, 41 Server Information page, trusted, Firewall Configuration locating commands, 110–113 displaying, 737 window, 475 metacharacters, 110 Server Message Block (SMB), 635 sesearch command, SELinux, 360 options, 109–110 server schannel, Samba SWAT, 642 set command, editing shell, 113 piping commands, 119 server string, Samba SWAT, 641 setkey command, configuring VPN rerunning, 113 server users, 364 with IPsec, 585–586 sequential commands, 120 ServerAdmin directive, 711 setools package, for SELinux, 357 understanding, 104 server-info page, Apache, 737, Settings, local printer, 611 shell scripts 739–740 set-x command, shell scripts, 399 defined, 397 ServerLimit, Apache server SFTP (File Transfer Protocol over executing and debugging, processes, 704–706 Secure Shell), 684 398–399 ServerName directive sftp command overview of, 397–398 main Apache server configuration, copying files from FTP server, 302 performing arithmetic in, 711–714 enabling user access to 402–403 setting canonical name for main vsFTPd, 684 programming constructs in, Apache server, 712 using with SSH service, 496–497 403–409 setting name for main Apache using without passwords, trying simple, 411–412 server, 712 498–499 useful external programs, ServerRoot directive SGML format, 178 409–411 configuring Apache, 702 sh shell, 104 variables, 399–402 configuring HTTP logging in SHA512 passwords, 40–41 application, GNOME Apache, 718–719 shadow password file, 40–41, desktop, 257–259 servers 471–473 shoulder surfing, protecting against, adding Amanda to, 462–463 shared directories, Samba 471 adding user account to, 379–380 checking status of, 650 Shoutcast PLS files, 229 attack techniques against, configuring with SWAT, 645–646 Show window menu, keyboard 500–501 setting up Samba clients, 650–652 shortcuts, 87

834

944967bindex.indd 834 2/27/11 10:39:10 PM S

shutdown command, runlevel, 426 getting and installing. see RPM spamd daemon, 675–677 sibling caches, Squid, 599 software packages, getting Spamhaus Project, 503 Sidebar, Firefox, 270 and installing speaker-test command, 225 Sidebar, Nautilus file manager, 82–83 kickstart installation of, 52 Spice, 806 signatures. see digital signatures managing. see RPM software spiders, 665 Simple Mail Transfer Protocol packages, managing Spin cube effect, 98 (SMTP), 655–656 selecting alternatives, 352–353 spins simple-scan, 216 for SELinux, 357 building install/live media, 73–74 64-bit PCs, installing Fedora on, 17 supporting different wireless creating own, 17–18 skipx command, kickstart cards, 544 defined, 17 installation, 50 upgrades, 27 Fedora installation media, 22 slide show, digital camera images, 259 software packages, in different getting custom Fedora, 17 smart card, authentication, 41 formats splash screen, 70 smart keywords, Firefox, 277 archives and documents, 177–178 Squid SMART_HOST line, sendmail.mc building and installing from debugging, 601–602 file, 662 source code, 179–181 modifying squid.conf file, SMB (Server Message Block), 635 overview of, 174 596–600 smb run-level script, 419–420 understanding names and, overview of, 592–593 smbclient command, 175–177 starting simple squid.conf file, troubleshooting Samba, Solaris, creating virtual guests, 796 594–595 652–654 sorting data, MySQL database, starting squid daemon, 593–594 smb.conf, Samba shared printer, 618 785–786 squid daemon, 593–594, 596 smbd daemon, 635 sound cards squid.conf file smbstatus command, shared adjusting sound levels, 224–225 configuring access control, directories in Samba, 650 configuring, 221 597–598 Smolt hardware profiler, 40 detecting driver for, 223–224 configuring caching, 599–600 SMTP (Simple Mail Transfer features of, 221–222 debugging Squid, 600 Protocol), 655–656 setting to record, 225 modifying, 596–597 smurf amplification attacks, testing from live CD, 32 setting up, 595–596 protecting against, troubleshooting CD-ROM SRPM (source code version) format, 179 503–504 drive, 227 SRPMS directory, 810 snapshots, rsync, 441, 452 unmuting and adjusting SSH (Secure Shell) package snapshots, webcam, 248–249 volume, 223 overview of, 495 SNAT (Source Network Address Sound Juicer, 236–238 starting service, 495–496 Translation), 485–486 Sound Preferences window, 223–225 using ssh, sftp and scp, SNMP, caution when configuring sound recording, sound cards, 221 496–497 with Squid, 593 Sound-HOWTO tips, 222 using ssh, sftp and scp without software Sound-Playing-HOWTO tips, 222 passwords, 498–499 choosing Fedora for packaging, 13 source code ssh command choosing for installation, 26 building and installing package remote backup with rsync, choosing install classes, 38 from, 179–181 440–441 culture of free, 18 using binary RPMs vs. building remote login/remote execution, 301 customizing categories during from, 175–176 running remote X applications, 193 installation, 38–39 what you need to work with simple backup with rsync and, 438 development installation, 38 Fedora, 810 with SSH service, 496–497 development of Linux, 5 source code version (SRPM) format, vi text editor, 141 efforts against patents, 217–218 179–180 without passwords, 498–499 features of, 4–5 Source Network Address Translation SSL (Secure Sockets Layer) getting, 16–18 (SNAT), 485–486 creating Certificate Service getting Fedora updates, 160–162 SourceForge website, 153 Request, 515–516 installing software from project SoX, 233, 235–236 creating certificates, 513–514 sites, 152–153 spam creating self-signed certificates, 518 installing wireless Linux, filtering in Evolution-email, 285 getting CSR signed, 516–517 550–551 protecting against spam relaying, overview of, 512–513 Linux security checklist for, 468 502–503 restarting your Web server, 518 software packages SpamAssassin, 503, 674–677 troubleshooting certificates, 518 adding or deleting, 72 SpamCop service, SpamAssassin, 676

835

944967bindex.indd 835 2/27/11 10:39:10 PM T

SSL (continued) Linux vs. Windows-based file graphical tools for, 310–313 trusted third-party certificate systems, 132 Linux security checklist for, 469 signers, 514–515 using digital cameras for, log files, 318 using Dogtag certificate 259–260 logins, 318–322 system, 515 Stores, Rhythmbox, 229 overview of, 307 SSL/TLS connection, 588–589 strategy, backup, 442–444 root user account, 308 star topology Stream Editor (sed) command, software alternatives, 352–353 cables, 534 410–411 using FirstAidKit, 351–352 hubs (repeaters), 534 streaming video, 252–253 using PolicyKit to assign overview of, 533 !?string (run command administrative privileges, start command containing string), 118 321–322 Apache Web server, 734–736 striping, implemented by RAID, using SELinux. see SELinux DHCP server, 754–755 341–342, 443 (Security Enhanced Linux) mysql command, 772–773 structured documents, creating, using sudo to assign MySQL server, 761 212–213 administrative privileges, run-level script, 419–420 su command, becoming super user 319–321 sendmail, 669–670 with, 308–310 System Administration menu, 41 StartServers, Apache server subnet masks, configuring LAN System menu, Gnome desktop top processes, 704–706 interface, 538 bar, 80 startup, troubleshooting desktop, subtree checking, sharing NFS file System menu, KDE desktop, 311 99–100 systems, 622 System Monitor, 31, 346–347 startup scripts sudo command system services, 7 creating, 390–391 assigning administrative System Settings window, KDE opening ports needed in privileges with, 319–321 desktop, 95 firewall, 477 configuring user to run system tasks, automating understanding, 419–420 administrative initializing system, 413–415 startx, exiting GNOME, 88–89 commands, 310 overview of, 397 state, SELinux, 357–358 running single Linux command as scheduling system tasks. see static key, configuring OpenVPN, 587 super user, 308 scheduling system tasks statistics packages, monitoring Web Sugar desktop version 0.90, Fedora starting up and shutting down server, 742 14, 16 system. see run-level status super user, 308–310 scripts Apache checking Web server, super-server, xinetd as, 425 understanding shell scripts. see 737–739 Suspected Web Forgery pop-up shell scripts checking SELinux, 358 message, Firefox, 273 System Tools menu, Gnome desktop, checking shared directories in SVID (System V Interface Definition) 80, 311, 313 Samba, 650 specifications, 7 System V Interface Definition (SVID) listing printer, 615 swap partition, 31, 37 specifications, 7 viewing for Apache server SWAT (Samba Web systemd initialization system, processes, 705 Administration Tool) 414–415 status codes, HTTP, 723 configuring Samba, 639 system-switch-mail package, 352–353 step (arrow keys), command-line creating global Samba settings, recall, 118 640–645 Sticky notes (gnote), 145 starting with, 640 T stop command, Apache Web server, turning on, 640 tabbed browsing, Firefox, 268–269, 734–736 switches, LAN hardware, 534 273 stop option, run-level script, mail client, 282 table types, iptables firewall, 488 419–420 symbolic links, 108 tables, MySQL database storage symmetric cryptography, 511–512 altering structure of, 786–787 checking computer resources for /sys directory, 131 checking and fixing, 790–792 virtualization, 794 system accounts. see login, creating, 774–775 configuration files in file administrative displaying all or selected records, system, 315 system activity, checking, 108–109 784 creating and converting volumes, system administration displaying selected columns, 785 803–804 becoming super user, 308–310 loading data from file into, creating virtual guest system, commands, 314 777–778 796–798 configuration files, 314–318

836

944967bindex.indd 836 2/27/11 10:39:11 PM T

manually adding data to, 775–777 magnetic tape drives, 446 timeouts numeric data types for columns, Samba permissions, 650 configuring values for Apache, 779–780 TeX, for text processing, 212 702–703 sorting data, 785–786 text set by default in vsFTPd, 692–693 understanding, 779 cutting and pasting in command timidity MIDI player, 234 updating and deleting MySQL lines, 115 tlhttpd Web server, 696 records, 787–788 processing with Groff, 210–211 TMOUT environment variable, 129 Take Screenshot program, 214–215 processing with TeX/LaTeX, 212 /tmp directory, 65, 131 command, 176, 452 resizing on Web page, 270 tmpwatch command, 394 tar file formats, 177, 180–181 searching Web page with toggle windows, KDE desktop, 92 tarball, 179 Firefox, 270 Tomcat Java application server, 731 targeted policies, SELinux, SpamAssassin checking mail, 674 top bar, GNOME desktop, 79–81 353–354, 511 text editors top command taskbar, KDE desktop, 92 overview of, 139 debugging Squid, 601 tasks using notepads and graphical, monitoring CPU usage, 347–348 automating system. see system 144–145 Torvalds, Linus, 5 tasks, automating vi, 140–144 Totem video player, 250 Evolution e‑mail, 283 text-based mail programs, 282, tr command, characters, 410 managing with Zarafa, 681 287–288 training, Red Hat Enterprise Linux, 12 tclhttpd Web server, 696 text-based mode, installation in, transfer log, 740 TCP wrappers 35, 72 transparent proxy, iptables as, 486 controlling access to services text-login prompt transport mode, IPsec, 585 with, 488–490 login to Fedora, 76–77 trapdoor algorithm, password securing vsFTPd, 687 troubleshooting Fedora encryption, 472 TCP/IP installation, 72–73 tripwire package, detecting configuring for LANs, 535–540 TextMaker word processor, 208 intrusion attacks, 508 hostnames in /etc/exports, 626 TFTP (Trivial File Transfer Trivial File Transfer Protocol installing Fedora from, 46 Protocol), 686 (TFTP), 686 Linux network connectivity, 8 tftp-server package, 686 troff command, text processing .tcshrc file, 377–378 themes, 9, 276 with Groff, 210 TE (Type Enforcement), SELinux, video, 250, 256 troubleshooting 354–355 third-party certificate signers, SSL, CD-ROM drive, 227 technical support 514–516 desktop, 99–101 mailbox, 382 third-party Fedora repositories installation, 71–73 programs, 11 defined, 12 LANs, 563–566 technology, choosing Fedora for installing software from, 152 Samba server, 652–654 Linux, 13 list of useful, 153 SELinux policies, 356 telephone list, shell script as, 411–412 upgrade requirements, 27 SSL certificates, 518 telnet, configuring VPN with 32-bit PCs, installing Fedora on, 17 TV cards, 244–245 OpenVPN, 586 threads, Apache server processes, wireless LANs, 566–569 temp files, removing 703–706 Xine, 255 automatically, 394 3D desktop effects, 98–99 TRUS_AUTH_MECH line, sendmail.mc Terminal application, launching from File Manager, 96 file, 663 Gnome desktop, 80–81 Thunderbird e‑mail client, 204, 282, Trusted interfaces, Firewall terminal window 286–287 Configuration window, 476 reorganizing/removing run-level tilde (~) character, home directory, Trusted services, Firewall scripts in, 423 107, 117 Configuration window, 475 starting applications from, time zone selection tsch shell, 104, 378 187–188 beginning installation, 36 ttcp package, 505–506 test database, MySQL, 774 getting started with tunnel mode, IPsec, 585 test expressions, operators for, installation, 25 TUn/TAP virtual network interface 404–406 kickstart installation, 50 drivers, 586 Test page, Apache Web server, reconfiguring after installation, 72 TV, watching with tvtime, 243–246 699–700 time/date data types, MySQL TV cards, 244–245 testing columns, 781–783 tvtime program, 243 Fedora distributions, 14 Timeout directive, Apache, 702 twistedpair cables, star topology, 534

837

944967bindex.indd 837 2/27/11 10:39:11 PM U

type command, 112 USB device login to Fedora, 76–77 Type Enforcement (TE), SELinux, booting installation from, 43–44 switching to another user in 354–355 detecting flash drives, 324 GNOME desktop, 88 TypesConfig directive, Apache, displaying information from live user private group (UPG) scheme, 373 717–718 CD, 31 User Properties dialog box, 386–387 getting custom spins, 17 User Switcher applet, GNOME, 88 installing Fedora from, 29 user_list file, vsFTPd access, U installing Fedora on laptops 684–685 Udev (dynamic device manager), from, 30 useradd command working with DeviceKit, testing from live CD, 32 add user accounts with, 364–369 323–324 USB sound cards, 221 changing user defaults, 375–376 UID (user ID) UseCanonicalName directive, 712 supplying initial login scripts, 376 adding users with User User Access tab, Add NFS Share userdel command, 387–388 Manager, 372 window, 623 UserDir directive, 715–716 creating regular user account, 364 user accounts usermod command creating user accounts with creating overview, 363–364 kickstart post-installation, 53 useradd, 367 creating support, 382 making changes to passwd umask value, file permissions, 138 creating with Account file, 308 umount command, 337–338, Information dialog, modifying accounts, 383–386 634–635 369–370 users unique identifier. see UUID (unique creating with User Manager, adding Samba, 648–649 identifier) 370–373 changing disk quotas, 388–394 Unix, creating virtual guests, 796 creating with useradd, 364 choosing in Apache configuration, unmounting file systems, 337–338, deleting, 387–388 711 634–635 enabling procmail for, 501 configuring Samba server, 637 “until.do” loop, shell scripts, login to Fedora as regular or root configuring sendmail virtual, 408–409 user, 76–77 667–668 UPDATE command, MySQL modifying, 383–387 creating portable desktops, records, 787 MySQL server, 764 380–381 updates reconfiguring after installation, 72 creating quota rules for, 392–393 automatic, 15 running Fedora Firstboot, 40 creating user accounts, 363–373 Fedora short guaranteed cycle sendmail, 668–669 deleting accounts, 387–388 for, 11 separating for security, 467 FTP server, 685 Firefox, 160–162, 274, 277 setting defaults for. see defaults, granting access to MySQL after installation, 41 setting user database, 788–789 installing Fedora on Intel-based User Data, User Properties dialog granting access to vsFTPd, Mac, 65 box, 386 688–689 installing from update disk, 35 user interfaces, 7 identifying directories in Apache, Linux security checklist for, 468 User Manager 715–716 quota settings, 393 creating users, 370–373 modifying accounts, 383–387 sendmail, 657 deleting user accounts, 388 multiusers, 7–8 UPG (user private group) scheme, 373 making changes to passwd NFS file system sharing, 623 upgrades file, 308 providing support to, 381–383 beginning installation, 35 modifying user accounts, revoking access to MySQL choosing between fresh install or, 386–387 database, 789–800 25, 27–28 user mapping, NFS shared file safety of Linux software for, 9 of existing RPM packages with systems, 627 Samba SWAT options for, 642 rpm, 168 user names SELinux, 355 installing RPM package, 166–168 adding Windows printer via sending mail to all, 394–396 partitioning for frequent, 60 Samba, 614 setting defaults. see defaults, upload files during vsFTPd session, command-line completion, 116 setting user 690–691 configuring administrative user /usr directory, 64, 132 upstart initialization system, 413–414 for MySQL, 764–765 /usr/sbin directory, 314 URLs, identifying user directories in configuring Samba server, 637 /usr/share/doc directory, 111–112 Apache via, 715–716 FTP server attribute, 684 uucp user, as administrative login, 319

838

944967bindex.indd 838 2/27/11 10:39:11 PM W

UUID (unique identifier) playing, 249–250 viruses creating virtual guests with virt- taking webcam snapshots, plaguing users of Windows OS, 9 install, 805 248–249 protecting against DDoS attacks, setting explicit file system ID, 623 using Totem movie player, 504–508 setting up virtual servers, 805 256–257 replacing Windows on desktop system-directed entries for hard watching with Xine, 252–256 with Fedora to protect disk mounts showing, 631 view processing, tvtime, 245–246 against, 182 using fstab file to define viewing Visualization, Xine, 253 mountable file scheduled jobs, 429 VMWare player, 195 systems, 333 virtual guests, 800–802 VNC install, 48 Vipul’s Razor, 674 VOIP, with Ekiga, 246–248 virsh command, virtual guests, 806 VPN (Virtual Private Network) V virt-install command, virtual connection setup /var directory, 64, 132 guests, 804–806 with IPSec, 583–586 variables, PKI for OpenVPN virtual desktops, in KDE, 92 methods for, 583–584 configuration, 587–588 virtual guest systems, 796–799 with NetworkManager, 531–532 variables, shell, 399–402 virtual hosting, Apache Web server, with OpenVPN. see OpenVPN /var/log directory, 491 731–732 vsFTPd (Very Secure FTP Server) /var/log/boot.log file, 72 Virtual Machine Manager window, adding message files, 691–692 /var/log/dmesg file, 72 796–800 enabling user access, 688–689 /var/spool/mail directory, 657 Virtual Private Network. see VPN logging activities, 692 /var/spool/mqueue directory, 658 (Virtual Private Network) navigating site, 693 vector graphic images, with connection setup overview of, 685–686 Inkscape, 215 virtual servers quick-starting, 686–687 Vega Strike game, 263 checking computer resources securing, 687 verify option (-V), rpm, 173–174 for, 794 setting FTP access, 689–691 VERSIONID line, sendmail.mc cloning guests, 802–803 setting timeouts, 692–693 file, 662 configuring sendmail, 667 setting up behind firewall, 693 Very Secure FTP Server. see vsFTPd creating virtual guests, 796–799 (Very Secure FTP Server) getting installation media, vi command, editing shell command 795–796 W lines, 113 installing KVM packages, 795 text-based browser, 280–281 vi text editor managing virtual guests, 799– WarZone 2100 game, 262 moving around file, 143 800, 803–807 Web, using. see Internet searching for text, 143–144 overview of, 793 Web browsers using, 140–143 starting virtualization service Chrome, 278–280 using numbers with (libvirtd), 795 configuring to use proxy, 604 commands, 144 viewing and using guests, Firefox. see Firefox Web browser video cards 800–802 good security practices, 277 getting information on, 100 virtual terminals Konqueror interface, 95 kickstart installation with, 50 switching with screen program, overview of, 266 testing from live CD, 32 146–147 Samba SWAT options, 643–645 troubleshooting Fedora troubleshooting GUI not working setting responses in Apache to, installation, 72 at startup, 100 729–730 tuning, 101 working with, 145–146 text-based, 280–281 video conferencing, with Ekiga, virtual users tuning, 267 246–248 in FTP server, 685 Web search, Firefox, 270 video file formats, 251–253 in sendmail, 667–668 Web server installation, 38, 47 , 244 virtual Workspace Switcher, 80–81 Web server, setting up videos virtual workspaces, 79–80 Apache. see Apache Web server content types, 251–252 VirtualHost tags, Apache, 732 configuring Apache, 700–734 converting to Theora, 250 virtualization products, 195 introduction to, 696 extending freedom to codecs, virtusertable file, sendmail, monitoring activities. see 218–219 667–668 monitoring Web server laws affecting Linux and, 217– virt-v2v command, virtual activities 218, 250–251 machines, 807 other Web servers for Fedora, 697

839

944967bindex.indd 839 2/27/11 10:39:11 PM X

Web server, setting up (continued) getting for Fedora, 198 writable DVD drives overview of, 695, 696 overview of, 194–195 as backup media, 446 starting and stopping, 734–736 running Windows applications comparing backup media, 444 webalizer package, 741–742 in Linux with, 182–183, getting cdrecord for, 446 webcams 198–201 writing to DVDs, 446–450 detecting, 324 winecfg command, 199 writing with growisofs, 450–451 finding for video conferencing, winefile command, 200 write list, Samba SWAT option, 642 246–248 Winprinters, avoiding, 609 write operations, sharing NFS file taking videos and snapshots with WINS server, Samba SWAT options, systems, 623 Cheese, 248–249 644–645 Writer, OpenOffice.org, 204, using tvtime to view, 244 wired Ethernet LANs, 533 206–207 wget command, getting files wired networks, connecting to from WU-FTPD FTP server software, 686 with, 299 NetworkManager, 529 “while.do” loop, shell scripts, wireless access points, 533–534 408–409 wireless networks, 542–543 X who command, login session, 106 wireless peer-to-peer topology, 533 X applications, running from terminal whois command, protecting against Wireshark window, 187–188 DDoS attacks, 508 capturing Ethernet data, 571–573 X applications, running remote widgets, adding to KDE panel or interpreting captured Ethernet launching, 190–192 desktop, 96 data, 574 overview of, 188–190 wildcards, navigating vsFTPd overview of, 569 user-based security for, 192–193 site, 693 starting, 570–571 using SSH, 193 windows, enabling 3D desktop using filters, 573 X forwarding, 193 effects, 98–99 wizards, OpenOffice.org Writer, 207 X servers, 100 Windows driver, wireless cards in WLANs (wireless LANs) X Window System, 8–9, 72 Linux, 545 checking connection, 555 xauth command, 192–193 Windows OS choosing hardware, 544–548 xconfig command, kickstart adding printer via Samba, configuring, 551–555 installation, 50 613–614 connecting to from Xen adding to LANs, 540–541 NetworkManager, 527–529 checking computer resources creating virtual guests, 796 getting drivers, 548–550 for, 794 equivalent Linux applications, installing Linux software, virtual machines converting to 183–184 550–551 KVM, 806 Fedora installation overview of, 542 virtualization software, 195 requirements, 24 security, 556 Xenner, 794 file sharing, 83 setting extensions, 557–558 Xfce desktop environment, 96–97 Linux file systems vs., 132 troubleshooting, 566–569 xhost command, 191, 192–193 malware and viruses plaguing understanding, 542–543 Xine, 252–256 users of, 9 wodim command, 239, 447–448, 450 xine-check command, 255 migrating desktop systems to workgroup, Samba SWAT option, 641 xinetd daemon Linux from, 198 workspace adding Amanda network services mounting file systems, 337 enabling 3D desktop effects for, with, 462–463 OpenOffice.org replacing, 98–99 disabling network services with, 203–204 keyboard shortcuts for, 87 509–510 replacing with Fedora on desktop, World Wide Web, original goal managing services with, 469 182–183 of, 696 overview of, 425 setting up DHCP client in, worms, protecting against DDoS restricting access to services 756–757 attacks, 504–508 with, 490 setting up to dual-boot Linux and. writable CD drives turning on SWAT with, 640 see dual-boot Linux and as backup media, 446 XMLTV Project, 246 Windows comparing backup media, 444 XMMS (X Multimedia System) Audio SMB technology from, 635 writing with growisofs, Player, 226, 230–233 WINE file system browser 450–451 xmns command, 188–189 defined, 197

840

944967bindex.indd 840 2/27/11 10:39:12 PM Z

RPM download and installation, yumdownloader, yum-utils Y 157–158 package, 160 Yahoo! Messenger, Pidgin support RPM software package updates, yum-utils package, 160 for, 290 15, 161–162 yum command sendmail updates, 657 adding repositories, 156–157 software installation using rpm Z configuring, 154–156 vs., 164 defined, 152 Zarafa mail server, 16, 681 software package installation, ZIP files, 436 KDE installation, 90 14, 152 listing packages, 159 software package installation preupgrade installation on Fedora locally, 158–159 13, 28

841

944967bindex.indd 841 2/27/11 10:39:12 PM