System Administration with Webmin by Joe Cooper System Administration with Webmin by Joe Cooper Copyright © 2000, , 2001, , 2002 Joe Cooper
Total Page:16
File Type:pdf, Size:1020Kb
System Administration With Webmin by Joe Cooper System Administration With Webmin by Joe Cooper Copyright © 2000, , 2001, , 2002 Joe Cooper “System Administration With Webmin” documents system configuration and ongoing system maintenance using the Webmin [http://www.webmin.com/webmin] web based administration tool. Table of Contents Preface ......................................................................................... xii Conventions Used in This Guide ............................................................. xii Who Webmin is For ....................................................................... xiii Who This Book is For ...................................................................... xiv Why a Webmin Book? ...................................................................... xv How to Contact the Author and Errata ....................................................... xvii How to Contact No Starch Press ............................................................ xvii Acknowledgments ........................................................................ xvii 1. Getting and Installing Webmin ................................................................... 1 Where to Download Webmin ................................................................. 1 Installing Webmin ........................................................................... 1 Installing from a tar.gz .................................................................. 1 Installing from an RPM ................................................................. 5 Installing from a pkg ................................................................... 5 After Installation ............................................................................ 5 Changing Webmin Passwords from the Command Line .................................... 6 Changing the Webmin Port from the Command Line ....................................... 6 Restarting Webmin from the Command Line .............................................. 7 2. Logging In ..................................................................................... 8 Logging in with Netscape or Internet Explorer .................................................. 8 Logging in with Lynx ........................................................................ 8 A First Look ................................................................................ 9 3. Webmin Category ............................................................................. 12 Webmin Actions Log ....................................................................... 12 Webmin Configuration ...................................................................... 12 IP Access Control ..................................................................... 13 Port and Address ...................................................................... 14 Logging ............................................................................. 15 Proxy Servers ........................................................................ 15 User Interface ........................................................................ 15 Webmin Modules ..................................................................... 15 Operating System ..................................................................... 18 Language ............................................................................ 18 Index Page Options ................................................................... 18 Upgrade Webmin ..................................................................... 19 Authentication ........................................................................ 19 Reassign Modules .................................................................... 21 Edit Categories ....................................................................... 21 Webmin Themes ...................................................................... 21 Trusted Referers ...................................................................... 22 Anonymous Module Access ............................................................ 22 SSL Encryption ....................................................................... 22 Certificate Authority .................................................................. 22 Webmin Servers ............................................................................ 24 Webmin Users ............................................................................. 25 Editing a Webmin User ................................................................ 25 Creating Webmin Users ............................................................... 26 Webmin Groups ...................................................................... 26 Tutorial: Securing Webmin .................................................................. 27 Password Policy ...................................................................... 27 Setting Network Access Controls ....................................................... 30 Enabling SSL ........................................................................ 32 Firewall Configuration ................................................................. 35 Other Security Techniques and Tools .................................................... 35 4. Usermin: A Webmin for Users .................................................................. 38 Introduction to Usermin ..................................................................... 38 Usermin Installation ........................................................................ 39 Checking for the Authen-PAM Perl Module .............................................. 39 Getting Usermin ...................................................................... 40 Installing the Package or Tarball ........................................................ 40 Installing Usermin from an RPM ....................................................... 40 Usermin Configuration ...................................................................... 41 Usermin Module Configuration ......................................................... 42 Available Modules .................................................................... 48 When to Use Usermin ................................................................. 48 5. General System Configuration .................................................................. 50 Bootup and Shutdown ...................................................................... 50 Disk and Network Filesystems ............................................................... 51 Linux Native Filesystem Mount Details ................................................. 52 Linux Advanced Mount Options ........................................................ 54 Solaris Filesystem Options ............................................................. 57 Solaris Advanced Mount Options ....................................................... 57 System Documentation ..................................................................... 59 System Documentation Search ......................................................... 59 Searching documentation from another module ........................................... 60 Process Manager ........................................................................... 61 Scheduled Commands ...................................................................... 61 Scheduled Cron Jobs ....................................................................... 62 Software Packages ......................................................................... 63 Introduction to Package Managers ...................................................... 63 Supported Operating Systems .......................................................... 64 Using the Package Manager ............................................................ 64 System Logs ............................................................................... 67 Adding a System Log ................................................................. 68 Users and Groups .......................................................................... 70 Users and Groups Module Configuration ................................................ 70 Creating a new User ................................................................... 81 6. Server and Daemon Configuration ............................................................... 90 Introduction to Servers ...................................................................... 90 7. Apache Webserver ............................................................................. 92 Global Configuration ....................................................................... 92 Processes and Limits ....................................................................... 93 Networking and Addresses .................................................................. 99 Apache Modules .......................................................................... 103 About Apache Modules .............................................................. 104 MIME Types ............................................................................. 107 Miscellaneous ............................................................................ 108 CGI Programs ............................................................................ 109 Per-Directory Options Files ................................................................ 110 Virtual Servers ...........................................................................