1. Using Webmin

What is Webmin?

OpenLinux eDesktop 2.4 is the first Linux product to use Webmin, a simple, powerful browser-based interface for system administration. Using any browser that supports tables and forms, Webmin can perform routine system administration tasks such as managing users and groups, adding and deleting software packages, manipulating filesystems, and managing disk quotas. It can also control a wide variety of server programs, such as FTP, Apache, DHCP, PPP, DNS, and Sendmail. Finally, Webmin contains modules for administering network cards, disk partitions, printers, and of course, for configuring Webmin itself. This chapter provides information on each Webmin module available in OpenLinux eDesktop.

Webmin consists of a simple web server, and a number of CGI (Common Gateway Interface) programs that directly update system files, such as /etc/inetd.conf and /etc/passwd . The web server and all CGI programs are written in Perl version 5, and use only standard Perl modules. Table See Webmin Modules lists each Webmin module and a brief description of its function.

  1. Webmin Modules

Module

Description

See The Webmin Configuration ModuleWebmin Configuration

Configures settings affecting Webmin's operations

See The Webmin Help ModuleWebmin Help

Searchable index of Webmin's help system

Webmin Servers Index

Locates and lists all Webmin servers on the LAN

Webmin Users

Manages Webmin users and their privileges

Bootup and Shutdown

Controls system startup and shutdown processes

Disk and Network Filesystems

Lists and manipulates locally mounted filesystems

NFS Exports

Add, delete, and edit NFS exported filesystems

Running Processes

Lists detailed information about running processes

Scheduled Cron Jobs

Shows and controls cron jobs

Software Packages

Graphical interface to the RPM system

Users and Groups

Manage users and groups

Apache Webserver

Configures the Apache webserver

BIND 8 DNS Server

Configures the BIND 8 domain nameserver

DHCP Server

Configures the DHCP server (not the client)

FTP Server

Configures the WU-FTP daemon

Internet Services and Protocols

Manages internet services

Majordomo List Manager

Graphically manages the majordomo listserver

PPP Usernames and Passwords

Controls the PPP server

Samba Windows File Sharing

Manipulates the SAMBA server/client

Sendmail Configuration

Edits the sendmail configuration file

Squid Proxy Server

Configures the Squid proxy/caching server

Linux Bootup Configuration

Edits the LILO configuration file

Network Configuration

Controls NIC and network configuration

Partitions on Local Disks

Adds, edits, and deletes local disk partitions

Printer Administration

Manages local and remote printers and queues

System Time

Sets system and hardware clocks

Custom Commands

Creates custom commands to execute from Webmin

File Manager

Java-based file manager

Telnet Login

Java-based telnet applet

As you can see, Webmin's capabilities are comprehensive. It is especially convenient for managing systems remotely, because, as long as a system is accessibly via a network connection of any sort and Webmin is running on it, it can be administered via an ordinary HTTP connection.

NOTE: At the present time, due to United States export restrictions, the version of Webmin available in OpenLinux eDesktop 2.4 does not support encryption. As a result, all connections are insecure, including and especially the login screen !

NOTE: On many Webmin screens, labels next to fields will be hypertext links. These links provide context-sensitive help and additional information about the task being performed.

To access Webmin, start Netscape or lynx, if either is installed (Netscape is preferred), and open the URL, http://localhost:1000. Login as `root' using the root password. You will see the screen shown in Figure See Webmin Main Screen showing tabbed organization.

NOTE: If you have trouble logging in, open a terminal session and execute the following command as root:

# /usr/libexec/webmin/changepass.pl /etc/webmin root password

Replace password with the root user's password. Then, repeat the login procedure.

 

  1. Webmin Main Screen showing tabbed organization

The organization of this chapter mirrors the organization of the Webmin main screen, as shown in Figure See Webmin Main Screen showing tabbed organization. The first group of modules to consider is the System group.

 

System Modules

The System group of modules provide graphical interfaces to the most common system administration tasks. The main screen is shown in Figure See The Main Webmin Screen.

 

  1. The Main Webmin Screen

The Bootup and Shutdown Module

The Bootup and Shutdown Module, shown in Figure See Webmin Bootup and Shutdown Screen, controls the system initialization scripts stored in the /etc/rc.d directory. This module enables the system administrator to perform the following tasks:

 

  1. Webmin Bootup and Shutdown Screen

The main portion of the window shows all of the currently defined initialization scripts (the scripts located in /etc/rc.d/init.d) and the special /etc/rc.d/rc.local script.

Modifying an Initilization Script

To modify one of the scripts, click on its name. For example, suppose you want to prevent gpm, the console mouse driver, from loading when you boot into run level 5. Click the gpm link, and it shows the screen illustrated in Figure See The gpm Configuration ScreenSee .

 

  1. The gpm Configuration Screen

The top of the screen shows the actual initialization script, which you can directly, and the bottom portion of the screen controls when gpm starts and stops. As you can see, gpm is currently configured to start in run levels 3, 4, and 5 and to stop in run levels 0, 1, 2, and 6. The numbers 75 and 25 control the sequence in which the daemon is started and stopped, respectively. To disable gpm in run level 5:

  1. Uncheck the Start at check box for run level 5.
  2. Click the Return to action link on the subsequent screen.
  3. Click the Save button.

After you click Save, you will return to the main Bootup and Shutdown Actions screen. To confirm that gpm will not start in run level 5, click the gpm link and you will see that the change you made has been saved.

Creating a New Initialization Script

The Bootup and Shutdown Actions module also allows you to create new bootup and shutdown actions. To do so, use the following steps:

  1. Click the Create a new bootup or shutdown action link.
  2. Fill out the Create Action form (shown in Figure See ).
  3. Create the actual script, using the Action Details box. Webmin creates the script automatically, using the information you provide here. The necessary elements are listed in Table See Fields on the Create Action Screen.
  4. Set the run levels in which the new script should start and stop. Also set the sequence numbers. Usually, bootup actions are started in run levels 3, 4, and 5 and stopped in run levels 0, 1, 2, and 6.

NOTE: If you inadvertently select a script name already in use, Webmin will not save the new action.

  1. Click the Create button.

An example of creating a new initialization script is shown in Figure See See Creating a New Initialization Script. Table See Fields on the Create Action Screen briefly summarizes the fields in this section.

 

 

  1. Creating a New Initialization Script

Field

Description

Name

The name of the script

Description

Briefly describes what the script does

Bootup commands

The commands to execute to start the daemon or program, including any necessary arguments or options

Shutdown commands

The commands to execute to terminate the daemon or program, including any necessary arguments or options

  1. Fields on the Create Action Screen

 

To delete a bootup or shutdown script, select its link on the Bootup and Shutdown main window, then click the Delete button in the lower right hand corner of the screen.

The Disk and Network Filesystems Module

Webmin's filesystem manager permits you to mount, dismount, create, edit, and delete many different filesystems. To get started, click the Disk and Network Filesystems icon to open the Disks and Filesystems screen, shown in Figure See See The Disks and Filesystems Display.

 

  1. The Disks and Filesystems Display

Initially, Webmin will list all the filesystems available on your system, whether they are mounted or not. Reading across the table of known filesystems, you can see the mount point, the filesystem type, the device or location, whether it is mounted, and if it is listed in /etc/fstab. To edit one of the listed filesystem, click its mount point, listed in the first column. The display will vary slightly, depending on the type of filesystem. Figure See Sample Edit Mount Screen shows the edit screen for /mnt/cdrom listed in Figure See .

 

  1. Sample Edit Mount Screen

Most of the fields should be self-explanatory. If you specify a non-existent mount point in the Mounted As field, Webmin will create it. The defaults listed in the Advanced Mount Options form should be sufficient, but you may change them if you find it necessary. After making your changes, click the Apply button to update the /etc/fstab file and activate the changes.

To add a new filesystem, first select the type of filesystem to create from the drop-down list box at the bottom of the screen, the click the Add Mount button. As you have seen with other Webmin modules, the Create Mount screen is identical to the Edit Mount screen, except that you have to fill it out. Be aware that the options available will vary depending on the type of filesystem you want to create. Figure See The Create Mount Screen shows the creation of a swap file.

 

  1. The Create Mount Screen

Because it is only going to be used temporarily, the Don't Save radio button is selected, preventing an entry for the swapfile from being added to /etc/fstab. The swapfile will be named, imaginatively, /tmp/swapfile. Click the Create button to activate your changes. Depending on the filesystem you want to create, you may see another screen or have to provide additional information before Webmin creates the filesystem.

The NFS Exports Module

Use the NFS Exports module to add directories to export to the file /etc/exports. NFS is the Network File System , the standard file sharing protocol used on Linux systems. A detailed discussion of NFS is beyond the scope of this book, so if you need more information, see the NFS-HOWTO at http://www.linuxdoc.org/HOWTO/NFS-HOWTO.html.

When you first start the module, if no directories are exported, the initial NFS Exports screen will resemble Figure See NFS Exports.

 

  1. NFS Exports

To add a new export, click the Add a new export link. Figure See Creating an Export shows the resulting screen.

>

  1. Creating an Export

As with most of Webmin's screens, many of the form fields are self explanatory. The top half of the screen sets the details of the export, while the bottom half configures security for the exported directory. As you can see in Figure XX above, /project/docs will be exported. The Export to field determines who is permitted to mount this directory. Because NFS is an insecure protocol, you may wish to limit access to exported directories. By default, Webmin grants access to everyone when it first creates an export. Simply select the Hosts options button and enter the names or IP addresses of hosts to which you will allow access. Note that you can use the * character as a wildcard.

For example, in Figure See Creating an Export, the entry *.bugcorp.corp means that all hosts in the bugcorp.corp domain will be able to mount the exported directory. Similarly, the IP address 192.168.0.* allows systems with IP addresses in the range 192.168.0.1 to 192.168.0.254 to mount the directory.

Table See Fields on the Create Exports Screen describes other important fields on the Create Exports screen.

  1. Fields on the Create Exports Screen

Field

Description

Clients must be on secure port?

Clients must connect on a port below 1024

Access mode

Clients have read-only or read/write access

Deny access to directory

Prevent access to subdirectories

Trust remote users

Determines who is considered an untrusted user

Don't trust UIDs

Sets the UIDs of untrusted users

Don't trust GIDs

Sets the GIDs of untrusted groups

Treat untrusted users as

UIDs of untrusted users will be mapped this user

Treat untrusted groups as

GIDs of untrusted groups will be mapped to this group

The notion of trusted and untrusted users and groups needs explanation. Trusted users are able to access files on an NFS exported directory just as they would on their home system. This is not always desirable nor even possible, since their UIDs and GIDs must be the same on both systems. This is particularly important for the root user, who very often should not have root access to an exported directory. Untrusted users, on the other hand, when accessing an NFS exported directory, have their UIDs and GIDs mapped to another UID and GID, typically nobody. This mapping establishes the privileges the user will have on the exported directory.

So, in Figure See Creating an Export, the root user is treated as an untrusted user and has her UID and GID mapped to the user and group nobody. After setting up the export, click the Create button to create the mount. You will be returned to the main screen, which will resemble Figure See The NFS Exports Screen After Adding an Export, then click the Apply Changes button to save and implement the configuration.

To edit an export, select the export to modify from the right hand column (the Exported to column) of the table (see Figure See The NFS Exports Screen After Adding an Export), make any changes, then click the Save button. Again, click the Apply Changes button to activate the configuration.

 

  1. The NFS Exports Screen After Adding an Export

To delete the export, click the delete button in the lower right hand corner of the screen, then click the Apply Changes button.

The Running Processes Module

Webmin's process manager resembles a browser-based version of the well-known top utility, but, unlike top, it also allows you to execute an arbitrary command. Clicking the Running Processes icon brings up the Process Manager screen shown in Figure See Webmin's Process Manager Screen.

  1. Webmin's Process Manager Screen

By default, the display is sorted by PID (process ID), but you can also sort the display by username, memory usage, and CPU time consumed by selecting, respectively, the User, Memory, and CPU links at the top of the page.

To find a specific process, click the Search link. You can choose from the search criteria listed in Table See Fields on the Process Manager Search Screen by selecting the option button next to the category, entering your criteria, and clicking the Search button. For each process, the PID, owner, CPU use, and the command are displayed. Click a process's PID to obtain more information about it.

 

Criteria

Description

Owned by

Enter a user name or select one from the pop-up window

Matching

Enter a string

Using more than % CPU

Enter a numeric value between 0 and 100

Using filesystem

Select a filesystem from the drop-down list box

Using file

Enter a filename

  1. Fields on the Process Manager Search Screen

The results of a search for all processes owned by the user named daemon are illustrated in Figure See A Search for Processes Owned by the daemon User.

 

  1. A Search for Processes Owned by the daemon User

You can also use Process Manager to change a process's priority. From either the main listing or a search screen, select a PID. In the screen that follows, which should resemble Figure See Re-nicing a Process Using Webmin's Process Manager, select a new priority, also called a nice level, from the drop down list box, then click the Change button. Note that higher numbers represent lower nice levels.

 

  1. Re-nicing a Process Using Webmin's Process Manager

From the same screen shown in Figure See Re-nicing a Process Using Webmin's Process Manager, you can also send a signal to a process. Note that if a process has spawned any child processes, these will be listed on the Process Information screen. Table See Common Linux Signals lists the most common signals and what they do.

 

Signal

Description

INT

Sends a keyboard interrupt (Ctrl+C). Terminates the process.

QUIT

Terminate the process.

ABRT

Terminate the process and create a memory dump (core file).

KILL

Terminates the process. Cannot be ignored.

HUP

Terminate the process if it does not handle SIGHUP.

TERM

Terminates the process.

STOP

Stops the process, but does not kill it.

CONT

Resume a stopped process.

  1. Common Linux Signals

So, for example, to kill a process, select KILL from the drop-down list box at the bottom of the Process Information screen and click the Send Signal button.

The Scheduled Cron Jobs Module

Webmin has the capability to manage system cron jobs (listed in the /etc/crontab file) and to control ordinary users' access to cron. To get started, click on the Scheduled Cron Jobs iconSee Webmin has the capability to manage system cron jobs (listed in the /etc/crontab file) and to control ordinary users' access to cron. To get started, click on the Scheduled Cron Jobs icon. Webmin presents a screen that should be similar to the one in Figure 10-151.. Webmin presents a screen that should be similar to the one in Figure See The Scheduled Cron Jobs ScreenSee .

 

  1. The Scheduled Cron Jobs Screen

As you can see in the figure, the upper portion of the screen lists all the system cron jobs, the status (active or inactive), and the command to execute. To edit an existing cron job, click on the command corresponding to the entry you want to modify and Webmin will present a screen providing an easy to use, intuitive interface for working with cron jobs. Figure See The Edit Cron Job Screen shows the edit screen for one of the jobs listed in Figure See .

 

  1. The Edit Cron Job Screen

In the Job Details form, you can change the name of the user who will own the job, the command to execute, and, in the Input to command box, provide any additional parameters or options that the command requires. To deactivate the job (which comments it out in the /etc/crontab file), click the No option button next to the Active? label. The lower half of the screen allows you to set the times and days the job will run. Clicking the Save button saves your changes. Creating a new cron job is similar to editing an existing one, except that you must fill out the fields yourself.

NOTE: Cron jobs you create or edit with this module are system cron jobs. To create personal crontabs, use the crontab command!

To limit normal users' access to cron, begin by selecting the Control user access to cron jobs link. Figure See Webmin's Control Cron Access Screen illustrates Webmin's Control Cron Access screen.

 

  1. Webmin's Control Cron Access Screen

The options are quite simple. By default, cron is configured to allow everyone access. To deny everyone but a select few access to cron, click the Allow only listed users option button. Then, either enter in the names of allowed users or select their usernames from a dialog box that pops up if you click the button with an ellipsis. Conversely, to allow everyone but a select few to use cron, click the Deny only listed users radio button and enter the appropriate user names. When you are done, click the Save button.

The Software Packages Module

The Software Packages module is Webmin's interface to OpenLinux eDesktop's software package management system. The package manager main screen is shown in Figure See The Package Manager ScreenSee .

 

  1. The Package Manager Screen

The display in Figure See shows various package groups, such as Administration, Applications, Browser, and so forth. Clicking on a folder displays a tree of subcategories, which further expands to a list of installed packages. If you click on a package name, you can find out detailed information about it, list all of the files it contains, or uninstall it. The Edit Package screen for the mt-st package is illustrated in Figure See Webmin's Edit Package Screen.

 

 

 

  1. Webmin's Edit Package Screen

The Users and Groups Module

The Users and Groups screen is shown in Figure See The Webmin Users and Groups Screen. It lists all of the known users and groups (taken from /etc/shadow and /etc/group).

 

  1. The Webmin Users and Groups Screen

To add a new user, click the link Create a new user. To add a new group, click the Create a new group link. Figure See Webmin's Create User Screen shows the Create User screen after it has been filled out to add a user named gnu_user.

 

  1. Webmin's Create User Screen

Note that by default, Webmin does not provide account expiration information. If your system requires it, you will have to provide it. Also be aware that your OpenLinux eDesktop system uses shadow passwords, so be sure to check the Encrypted password radio button and type the new user's password in the corresponding text box. After providing all of the necessary information, click the Create button.

NOTE: If you leave out any required information, Webmin will display an error message. If this occurs, use the browsers back button to go back an correct the error. Then, click the Create button again.

To edit either user or group information, click on one of the user or group names. Figure See Webmin's Edit Group Screen shows the Edit Group screen for the users group.

 

  1. Webmin's Edit Group Screen

To add users to a group, click the button marked with an ellipsis next to the Members list box. This brings up a dialog box containing a list of user names. Click a user name to add it to the group, as shown in Figure See Adding Users to a Group. After making all required modifications, click the OK button at the bottom of the screen to store the changes.

 

  1. Adding Users to a Group

Server Modules

Webmin's server modules control the behavior and functionality of the various server programs installed on your system, such as FTP, Apache, DHCP, PPP, DNS, and Sendmail. The primary server modules tab is shown in Figure See The Server Modules Screen.

 

  1. The Server Modules Screen

The Apache Webserver Module

Depending on the installation option you chose, the Apache webserver may have been installed and configured. To verify that it is installed, use the Process Manager mentioned previously, or execute following command:

$ rpm -q apache

Apache is installed if output resembling the following appears:

apache-1.3.11-1

To confirm that the server is running, execute the following command:

$ ps aux | grep httpd

If the server is running, you will see several lines of output that resemble the following:

root 648 0.0 0.1 2284 236 ? S Oct12 0:00 httpd -f /etc/httpd

nobody 652 0.0 0.1 2320 236 ? S Oct12 0:00 httpd -f /etc/httpd

nobody 653 0.0 0.1 2324 232 ? S Oct12 0:00 httpd -f /etc/httpd

nobody 654 0.0 0.1 2324 232 ? S Oct12 0:00 httpd -f /etc/httpd

nobody 655 0.0 0.1 2324 232 ? S Oct12 0:00 httpd -f /etc/httpd

The httpd program is the Web server daemon. If the server is not running, become the root user and use the following command to start it, then rerun the previous ps command to make sure that it started:

# /etc/rc.d/init.d/httpd start

The main Apache configuration screen is shown in Figure See See The Apache Webserver Configuration Screen.

 

  1. The Apache Webserver Configuration Screen

The top portion of the screen allows you to control many elements of Apache's configuration. The bottom portion of the screen deals with configuring virtual servers. Apache configuration is beyond this manual's scope, however, so review the Apache documentation for more information.

The BIND 8 DNS Server Module

Setting up a domain nameserver, also known as DNS, is second only to Sendmail configuration in complexity and frustration-induced hair loss. Due to its complexity, this section does not describe DNS in detail. Rather, it simply shows you how to configure two common DNS schemes, explaining the required terms and concepts as necessary.

Click the BIND 8 DNS Server icon to start configuring the nameserver. Because the nameserver has not yet been configured, the first screen you encounter, shown in Figure See Initial DNS Configuration Screen, appears. At this point you have to decide what kind of nameserver to configure.

 

  1. Initial DNS Configuration Screen

If your server will not be connected to the Internet, select the first radio button, Setup nameserver for internal non-internet use only. The second and third options, intended for a nameserver that will be attached to the Internet, are essentially the same, except that the second one will only work if you are already connected to the Internet. Select the appropriate option, then click the button at the bottom of the screen to create a basic configuration file and start the nameserver.

The examples in this manual assume a nameserver that is not connected to the Internet, that is, we selected the first radio button. The screen that results is shown if Figure See The BIND 8 DNS Server Screen. The process is the same, however, if you choose one of the other two options.

 

  1. The BIND 8 DNS Server Screen

The next step is to create a master zone file for forward and reverse DNS lookups. This file will configure the nameserver correctly to answer DNS lookups regarding your domain. Forward lookups match names to IP addresses while reverse lookups, as you might guess, match IP addresses to names. You must have both to correctly configure your nameserver. Click the Create a new master zone link to get started. The resulting screen is shown in Figure See Creating a New Master Zone File.

 

  1. Creating a New Master Zone File

In the Domain name/Network text box, enter the name of your domain. The Records file field allows you to specify the name of the file that describes your domain. Use the default file name by selecting the radio button labeled Automatic. The Master Server field is where you provide the name or IP address of the system that will run the nameserver. By default, Webmin assumes that the nameserver will run on the local system.

Type the email address of the person who should received email regarding this nameserver in the Owner's email address field. Unless you have sufficient reason to change the other values, click the Create Zone button. You will see that Webmin added an icon for the new zone. Click the Apply Changes button to activate the new zone and restart the nameserver.

Remember that you must have forward and reverse lookups configured, so create another master zone file, but this time, select the Reverse (Addresses to Names) radio button. Use the same values for the other fields as you did when creating the forward zone, click the Create button, then click the Apply Changes button. Voila! You have a basic, functioning DNS server!

Once the basic server is configured, you can fine tune it as necessary. For example, for each host on your network that is assigned an IP address, you will need to create an address record. You also have to create a nameserver record for your backup nameserver (if you have one, which is recommended) and add a mail server record so that mail sent to your domain actually arrives.

Creating these records is very simple. To do so, click the icon for the master forward zone file you just created. The resulting screen should resemble Figure See An Example Master Zone File. There are icons for each of the different types of resource records that DNS can handle. The following example demonstrates how to add an address record, but the process is substantially the same for all record types.

 

  1. An Example Master Zone File

To add an address record, which associates a hostname with an IP address, click on the Address icon and fill out the resulting form. The Name field is the fully-qualified domain name of the host you want to add, for example, ant.bugcorp.com, and Address is the IP address you are assigning to that host, say, 192.168.1.13. The Time-To-Live and Update reverse? fields should be left as they are. It is especially important to update the reverse zone file so that the new IP address can be correctly resolved to a previously-defined hostname. After you have made your changes, click the Create button and the new record will appear underneath the data entry form. When you complete adding records, click the Return to record types link, then click the Save button, followed by the Apply Changes button to active the records. A sample new address record is shown in Figure See Example Address Record.

 

  1. Example Address Record

The DHCP Server Module

The DHCP (Dynamic Host Configuration Protocol) Server module configures your system as a DHCP server. This is not the same as configuring your system as a DHCP client, which is easily performed using COAS (for more information about COAS, see Chapter Eleven, Using COAS and LISA).

Before explaining how to use the DHCP module, a short overview of DHCP will be helpful. Using Webmin's DHCP module, DHCP installations are easy to configure. This manual creates a small, simple DHCP configuration.

The DHCP server's configuration file is /etc/dhcpd.conf. It consists of a global section that applies to the entire network and sets parameters that affect the DHCP server's overall configuration and behavior. Additional sections deal with subnets, collections of hosts (sometimes called groups), and specific hosts. The syntax of the configuration file is vaguely reminiscent of the C programming language because it uses braces, { and }, to group sections of the file and semicolons, ;, to terminate configuration commands. String data, such as a fully-qualified domain name, must be surrounded by double quotes.

Figure See The DHCP Server Screen shows the DHCP Server module's main screen. The first task will be to define a subnet. Each DHCP server must have at least one subnet in order to define which subnet it is serving and to define the range of IP addresses it leases out.

 

  1. The DHCP Server Screen

Click the Add a new subnet link to define the subnet. The resulting screen is shown in Figure See The Create Subnet Screen.

 

  1. The Create Subnet Screen

For simplicity's sake, the subnet in this example will be 192.168.1.0, and the range of addresses the server will administer is 1-254. In the Network address. field, enter 192.168.1.0. The Netmask should be 255.255.255.0 for this example. The Address ranges will be 192.168.1.1 to 192.168.1.254. For this example, use the default values for all other fields.

Some of the other fields bear explanation, however. The Boot filename field, for example, gives the name of the file to send to diskless clients that boot over the network. Similarly, the Boot file server field defines the name of the server that stores the boot file, if it is not stored locally. The various lease time fields specify how long leases last, that is, how long (in seconds) before clients have to request new or renewed IP addresses and other information.

Click the Create button to create the subnet. The main screen now displays an icon for the subnet just created. Now, click the Start Server button to start the DHCP daemon, dhcpd.

To fine-tune the DHCP server's configuration, click the Edit Global Options button. You should see a screen that resembles Figure See The Edit Global Options Screen.

 

  1. The Edit Global Options Screen

As you can see in the figure, the global options define servers for each DHCP client, such as a time server, its NIS domain, and so forth. Each time a client connects, the information you set in this screen will be sent to the client. After making changes, click the Save button, followed by the Apply Changes button to activate the configuration.

To edit a subnet, simply click the appropriate subnet icon, change the appropriate values, click the Save button, then click the Apply Changes button to restart the DHCP server. While editing a subnet in this fashion, you can also set subnet specific options that the override global configuration settings set using the Edit Global Options button.

The FTP Server Module

The FTP Server module controls how the FTP daemon works, file locations, operational limits, and who may access the server. This module is a graphical interface to the FTP server's configuration files, primarily/etc/ftpaccess, but also /etc/ftpusers, /etc/ftpgroups, and /etc/ftphosts.The main screen is shown in Figure See The FTP Server Screen.

 

  1. The FTP Server Screen

In most cases, the default configuration values are reasonable, so we will look at only a few configuration items.

Messages and Banners

The Messages and Banners screen, shown in Figure See The Messages and Banners Screen, allows you to control what messages FTP users see when they login and when they change directories. For example, the default configuration for messages, in the Message files area of the screen, indicates that the login message, the message users see when they first login, is stored in the file, ./message.log (relative to /home/ftp). So, if you are inclined, you can edit that file to customize the login greeting, or create a new file and place its name in the field.

Similarly, .message is displayed each time an FTP user changes directories. You can display a custom message for specific directories by selecting the Entering dir button, entering the directory name, and specifying the name of the file that contains the message in the Path text entry box.

NOTE: The file must exist before you can save and apply these options. Otherwise, Webmin will display an error message.

 

  1. The Messages and Banners Screen

The README files section functions similarly to the Message files, except that it is only concerned with files named README, or a variation thereof.

Limits and Access Control

The Limits and Access Control screen is where you control how many simultaneous FTP sessions to allow, bandwidth limits, and who may access the FTP server. It is illustrated in Figure See The Limits and Access Control Screen.

 

  1. The Limits and Access Control Screen

The Deny access from area allows you to identify specific IP addresses or groups of IP addresses that are prohibited from accessing the FTP server. To do so, use address:netmask or address/cidr (Classless InterDomain Routing) notation.

NOTE: Address:netmask notation, address/cidr notation, and Classless InterDomain Routing are beyond the scope of this manual. Consult a networking reference for more information.

To limit the number of concurrent FTP sessions, enter a number in the Maximum users field, specify the times this limit applies in the At times field, and, optionally, the name of the file containing the message to display.

Limiting the number of files of the total byte count of file transfers, fill out the File and data transfer limits information. You can also use this screen to deny access to particular files and to control the number of anonymous FTP sessions allowed. To save your changes, click the Save button.

Logging

FTP site administrators often find it useful to log file transfers and other activity associated with the FTP server. The Logging screen enables you to configure loggin. The Logging screen is shown in Figure See The Logging Screen.

 

  1. The Logging Screen

The default configuration logs only file transfers and saves this information in the file /var/log/xferlog. To log commands, too, select one or more of the option buttons next to the Log all commands for label. You can also log security violations, such as login failures, by selecting one or more of the option buttons next to the Log security violations for label. Click the Save button to save and apply the changes and return to the main FTP Server screen.

Permissions

The Permissions screen, shown in Figure See The Permissions Screen, allows you to control file access permissions for FTP users.

The default configuration does not allow anyone to change file permissions, or delete, overwrite, or rename files. It is ill-advised to allow users to do perform these functions, but, if you have a need to allow certain users to manipulate files on the FTP server, make the appropriate changes on this screen and click the Save button to apply the changes.

  1. The Permissions Screen

The other configuration options are more advanced and are outside of this manual's scope. For additional information, read the ftpaccess(5) manual page.

The Internet Services and Protocols Module

The Internet Services and Protocols module is Webmin's interface for manipulating the files, /etc/inetd.conf and /etc/rpc. These are the configuration files for the inetd superserver and the RPC (Remote Procedure Call) subsystem, respectively. This manual will only discuss the Internet services component. The main Internet Services and Protocols screen is shown in Figure See The Internet Services Screen.

 

  1. The Internet Services Screen

The figure lists dozens of services, but, fortunately, it is easy to tell at a glance what is what. Services listed in bold face, such as discard and time, are enabled; those listed in italics, such as echo and systat are disabled (commented out in the file); finally, service names shown in a normal face are not even installed on the system. To make the display less cluttered, click the Module Config link in the upper left hand corner of the screen, find the Show services with no program option, and select the No radio button. Click the Save button to return to the main Internet Services screen. The resulting screen (see Figure See The Internet Services Screen After Hiding Unsupported Services) is much less cluttered and easier to read.

 

  1. The Internet Services Screen After Hiding Unsupported Services

To enable or disable a service, click its corresponding link. Figure See The Internet Services Screen After Disabling the Talk Service shows the Edit Internet Service screen for the talk protocol. Enabled by default, we want to disable it. To do so, select the Program disabled radio button, then click the Save button. When you return to the main screen, the talk link is italicized, indicating that it is now disabled. The final step is to click the Apply Changes button, which restarts the inetd daemon and activates the change. To enable a service, select the Program enabled radio button, again clicking the Save and Apply Changes buttons to activate the change.

 

  1. The Internet Services Screen After Disabling the Talk Service

The Edit Internet Service screen also enables you to change the default port for a service, control the command that is executed when a particular service is activated, and set the user or group the service will execute as. Unless you are an advanced user and know precisely what you are doing and why, you are strongly encouraged to use the default settings for these options.

The Majordomo List Manager Module

Majordomo is one of the most popular listserver packages available. Like Sendmail and DNS, however, it can be somewhat difficult to configure. Webmin makes listserver management a breeze. To begin, click the Majordomo List Manager icon to get to the main screen, shown in Figure See The Majordomo List Manager Screen.

 

  1. The Majordomo List Manager Screen

NOTE: If you see a screen that resembles Figure See The Setup Aliases Screen, provide an email address and click the Setup Aliases button. The next screen will resemble Figure See The Majordomo List Manager Screen.

 

  1. The Setup Aliases Screen

Not much to see, right? First, create a new mailing list by clicking the Add a new mailing list link. On the resulting Create Mailing List screen (see Figure See The Edit Mailing List Screen), fill in the fields.

 

  1. The Create Mailing List Screen

The Maintenance password field is particularly important because it is needed to reconfigure the mailing list's options. Using this password, the list maintainer, whose email address is set in the List maintainer's address text box, can manage the list remotely, via email. The Introductory message text box contains the text that will be sent to new subscribers. It typically contains the name of the list, instructions on how to subscribe and unsubscribe, and the rules and guidelines to which list members adhere. If the list will be moderated, select the Yes radio button and enter the moderator's email address in the Moderator's address text box. Finally, click the Create button and the list will be created and you will see a screen resembling Figure See The Edit Mailing List Screen.

 

  1. The Edit Mailing List Screen

This screen enables you to control how Majordomo manages the newly created mailing list. The List Members icon, for example, allows you add and delete members from the list. The Messages and Description icon opens a screen for editing the introductory message, the description of the list, and a message that gives more information about the list.

On the Subscription and Moderation screen, you set the subscription policy (see Figure See The Subscription and Moderation Screen). This includes whether or not subscriptions have to be approved by the list maintainer, and whether or not subscription requests require confirmation. If the list is moderated, you can change the password on this screen. Finally, you can set or change the list owner's email address.

 

  1. The Subscription and Moderation Screen

The Email Options screen, shown in Figure See The Email Options Screen, determines how mail sent to the list will be handled. The term resent email refers to mail sent to the list, which is then forwarded to the list's subscribers.

 

  1. The Email Options Screen

NOTE: Many lists add a prefix to subject lines to make list mail easily recognizable, so if you choose to use this feature, add the prefix in the Subject: prefix for resent email field.

The Access Control screen, shown in Figure See The Access Control Screen, controls access to various Majordomo features. These are summarized in Table See Fields on the Access Control Screen.

 

  1. The Access Control Screen

 

  1. Fields on the Access Control Screen

Majordomo Command

Description

Access to get command

Sends files to requester

Access to info command

Sends basic information about a mailing list

Access to which command

Sends a list of mailing lists to which requester is subscribed

Access to index command

Sends a list of files that can be retrieved with the get command

Access to intro command

Sends the introductory message

Access to who command

Sends a list of mailing list subscribers

Taboo body regexps

Regular expressions appearing in message body that cause the message to be rejected

Taboo header regexps

Regular expressions appearing in message headers that cause the message to be rejected

The Headers and Footers screen permits you add specify additional header or footer text to add to messages being sent from the list. Finally, the Miscellaneous Options screens controls whether or not modification dates should be included in the introduction and information messages and whether or not Majordomo should run in debug mode.

To delete a mailing list, select the list you want to delete, then click the Delete button. The Edit Majordomo Options screen controls Majordomo's overall behavior. Unless you know what you are doing and why, the default settings for Majordomo's global options will suffice and should not be changed.

The PPP Usernames and Passwords Module

The PPP Usernames and Passwords module manages your system's PPP users. The main screen is shown in Figure See The PPP Accounts Screen.

 

  1. The PPP Accounts Screen

To create a new PPP account, click the corresponding link, Create new PPP account. The resulting screen is shown in Figure See The Create PPP Account Screen. Fill out the form and click the Save button, which will save the information and return you to the main screen. Then click the Apply button to activate your changes.

 

  1. The Create PPP Account Screen

NOTE: Information input on the Create PPP Account screen is stored in /etc/ppp/pap-secrets.

Webmin has the ability to use standard Linux authentication methods, primarily the /etc/passwd user list, to create PPP accounts. This is especially valuable and convenient for ISPs and administrators of other systems whose primary users are PPP dial-up customers because they do not have to make changes in two sets of configuration files. To enable this feature, select the Add a PPP account when a Unix user is added, for the server option button and provide the server name in the corresponding text box. In order to keep account information synchronized between /etc/passwd (and /etc/shadow) and PPP, select the other two options buttons, Change the PPP account when a Unix user is changed, and Delete the PPP account when a Unix user is deleted. Again, to activate your changes, click the Apply button.

The Sendmail Configuration Module

As with the other Internet services included with OpenLinux eDesktop, a default mail server, the Sendmail Mail Transfer Agent, or MTA, is installed and preconfigured. Sendmail's configuration syntax is devastatingly arcane, but Webmin's interface for configuring Sendmail hides most of this complexity. This section describes how to configure Sendmail for one common situation: where a single system handles all incoming and outgoing email for an entire network

To get started, click the Sendmail Configuration iconSee To get started, click the Sendmail Configuration icon, which opens the main Sendmail Configuration screen (see Figure 10-187)., which opens the main Sendmail Configuration screen (see Figure See See The Sendmail Configuration Screen).

 

  1. The Sendmail Configuration Screen

The main page shows a number of icons that configure various elements of Sendmail's functionality. While an exhaustive discussion of each option is beyond this manual's scope, it will discuss key features.

NOTE: The default sendmail configuration of OpenLinux eDesktop does not support Address Mapping, Outgoing Addresses, Domain Mapping, or Spam Control, If you try to use these Webmin screens, Webmin will complain that the sendmail configuration file (/etc/sendmail.cf) lacks the necessary directives.

Mail Aliases

The Mail Aliases screen allows you to redirect mail sent to one address to another address. The destination address can be another user, an address on another system, a file, or even a program. Note, however, that aliases apply to all domains for which your system accepts mail. Suppose you accept mail for bugcorp.com and bigbiz.com. An alias for the address hostmeister would, as a result, be redirected to hostmeister@bugcorp.com and hostmeister@bigbiz.com.

 

  1. The Mail Aliases Screen

Figure See The Mail Aliases Screen shows the Mail Aliases configuration screen. To change or delete an existing alias, click on its correpsonding address. To create a new alias, fill out the form at the top of the screen, select the type of alias from the drop down list box (usually, you will want to use Email address), then click the Create button.

Local Domains

The Local Domains screen enables you to add the names of all hosts for which you accept email. The list of hosts is stored in /etc/sendmail.cw. Simply add the domain to the list and click the Save button. In order for this to work correctly, a DNS record for the domain must exist and your OpenLinux eDesktop system must be listed as the mail exchanger for the specified domain.

Domain Masquerading

The Domain Masquerading screen is shown in Figure See The Domain Masquerading Screen.

 

  1. The Domain Masquerading Screen

Use domain masquerading to alter the From: address of email originating from or passing through your system so that it appears to come from the indicated domain. You may also want to use this feature if you want email to appear to come from your domain name rather than the system host name. For example, if your mail server is named mailbeast.bigisp.com, all email will appear to come from someuser@mailbeast.bigisp.com. To make all email appear to come from bigisp.com, type bigisp.com in the Masquerade as domain text box and click the Save button.

If your system hosts several domains that need to be masqueraded, enter their names, one per line, in the Domains to be masqueraded list box and click the Save button.

Trusted Users

Trusted Users are local users Sendmail allows you to use a different From: address than Sendmail would normally use (see Figure See See The Trusted Users Configuration Screen). Be extremely careful using this option, because it allows email users to forge their email addresses! Trusted users are listed one per line. Click the Save button to save any changes, additions, or deletions.

 

  1. The Trusted Users Configuration Screen

Domain Routing

Domain routing (see Figure See Example Domain Routing for bugcorp.com) enables you to specify a special transfer method for mail going to certain domains or hosts. In order for this to work properly, your system must be the mail exchanger for these systems. To set this up, enter the host or domain name for the routed host or domain, select the correct delivery method from the Delivery drop-down list box, and add the name of the destination system to which mail should be sent.

 

  1. Example Domain Routing for bugcorp.com

Relay Domains

If you have domain routing configured, you must list those domains as domains to which relaying is allowed. This is a spam control feature that prevents spammers from using your system as an open email relay. In addition, Sendmail will reject incoming mail messages that are not for local users and not for a listed domain, further strengthening your system against hostile spammers.

To allow relaying to a domain named, for example, bugcorp.com, type its name into the list box and click the Save button (see Figure See See The Relay Domains Configuration Screen).

 

  1. The Relay Domains Configuration Screen

Mail Queue

The Mail Queue screen shows both incoming and outgoing email that Sendmail still has queued. From this screen you can manipulate your mail queue, delete undeliverable messages, and get other delivery status information. It is an excellent tool when you are trying to debug a troublesome Sendmail configuration.

Hardware Modules

Webmin's Hardware modules tab gives administrators control over various aspects of a system's hardware configuration and peripherals. The main screen of the Hardware modules tab is shown in Figure See The Hardware Modules Tab.

 

  1. The Hardware Modules Tab

The Linux Bootup Configuration Module

Access Webmin's module for manipulating LILO and the /etc/lilo.conf file (which controls LILO's behavior) by clicking the Linux Bootup Configuration icon. It will bring you to the screen shown in Figure See The Linux Bootup Configuration Module, Linux Bootup Configuration.

 

  1. The Linux Bootup Configuration Module

From this screen you can perform several activities:

Modifying the Current Kernel

To modify the current kernel's boot options, select one of the icons in the top portion of the screen. In Figure See The Linux Bootup Configuration Module, for example, you would select the icon labeled linux. The resulting screen is shown in Figure See The Edit Boot Kernel Screen. Table See Fields on the Edit Boot Kernel Screen describes each field.

 

Field

Description

Name

The label displayed at LILO's boot prompt.

Kernel to boot

The full path to the kernel image to boot.

Kernel options

The parameters passed to the kernel at boot time using LILO's append option.

Root device

The device that contains the root file system.

Root mount mode

The root device should always be mounted in read-only mode at boot time.

VGA text mode

The default video mode, corresponding to LILO's vga option.

Remember options?

Select Yes if you want the kernel options written to the kernel image.

Skip if kernel does not exist?

Select Yes if LILO should skip this section if the indicated kernel does not exist.

Boot password

Sets the password LILO expects before booting this kernel

Password needed for

Sets the conditions under which a password must be provided.

  1. Fields on the Edit Boot Kernel Screen

 

 

  1. The Edit Boot Kernel Screen

After changing these options, click the Save button to save your changes and then click the Apply Configuration button to activate the changes. If you wish to discard the changes, select the Return to kernels and partitions link.

Creating a New Boot Kernel

OpenLinux eDesktop can be configured to use multiple kernels. You may want to do this to support specific hardware configurations, offer specific services, or to test a newly compiled kernel. It is especially important to be able to boot multiple kernels when testing a new one, because the new one may not be stable or have all the functionality you desire. Note that when creating a new kernel, it is very important to save the old kernel and to keep a reference to the old kernel in your boot configuration file, /etc/lilo.conf, otherwise, you may not be able to boot the system.

To boot from multiple kernels (only one kernel can be loaded and running at a time), OpenLinux eDesktop must know where to find, and how to load, each kernel. The LILO program (LInux LOader) instructs the computer where the kernel is located and which one you want to run. Webmin dramatically simplifies configuring your system to boot multiple kernels. To get started, click the Create a new boot kernel link. The resulting screen closely resembles Figure See The Edit Boot Kernel Screen, except that you fill in all of the fields. After filling it out, click the Save button, then click the Apply Configuration button to activate the changes

To delete a boot kernel, select its icon, and the click the Delete button in the lower right hand corner of the Edit Boot Kernel screen.

Modifying Global Boot Options

The first section of the LILO configuration file, /etc/lilo.conf, sets a number of options that apply to all kernels and control LILO's overall behavior. To view, add, or change these options, click the Edit Global Options button. The corresponding screen is shown in Figure See The LILO Global Options Screen.

 

  1. The LILO Global Options Screen

In Figure See The LILO Global Options Screen, Webmin has read the existing global options that are already present in /etc/lilo.conf. Key options are described in Table See LILO Options.

 

Field

Description

Write boot loader to

Specify the location where you want the boot loader installed.

Display LILO prompt?

Do you want to see the "boot:" prompt or not?

Time to wait at LILO prompt

How long the boot prompt will be displayed before booting continues.

Time to wait before booting

How long LILO will wait before booting the default kernel if no alternative is provided.

  1. LILO Options

The other fields were listed and explained in Table See Fields on the Edit Boot Kernel Screen. After making your selections, click the Save button to save the changes, then click the Apply Configuration button, as before, to activate them.

The Network Configuration Module

Figure See The Network Configuration Screen shows the Network Configuration module's main screen. This module is the interface for configuring network interfaces (usually network cards) on your system and also for modifying network functions.

 

  1. The Network Configuration Screen

To add or edit network interfaces, click the Network Interfaces icon, which opens the screen shown in Figure See The Network Interfaces Screen. The screen you see may vary. In particular, if you do not have an ethernet card, you will not have an entry for eth0.

 

  1. The Network Interfaces Screen

Suppose you have added a new network card. To activate it at boot time, click the Add a new interface link in the section titled Interfaces Activated at Boot Time and fill out the screen, which should resemble Figure See The Create Bootup Interface Screen. Consult your system or network administrator for the correct values. Click the Create button to save your changes. To activate the new interface immediately, use the Add a new interface link in the Interfaces Active Now section. If you want this interface activated at boot time, you must also add it in the Interface Activated at Boot Time section.

 

  1. The Create Bootup Interface Screen

The Routing and Gateways screen enables you to configure the device and address of the machine's default router and gateway. Consult the system or network administrator for the correct values. Click the Save button to save the changes.

The DNS Client screen is used, as you might imagine, to configure the DNS client software. The information on this screen rarely changes, so you should not need to use it very often, if at all. The same applies for the Hostnames screen.

NOTE: If you are connected to a LAN that uses DHCP, all of the networking information is automatically provided by the DHCP server and you will not need to use the Network Configuration module at all.

The Partitions on Local Disks Module

Webmin enables you to manage the partitions on your local hard disks. Figure See The Partition Manager Screen illustrates Webmin's Partition Manager screen.

 

  1. The Partition Manager Screen

On the left side of the display, Webmin lists the device name, some geometry information, and the manufacturer, brand name, and model number of the drive, if available. The right side shows the partitions in a graphical way. As you can see in Figure See The Partition Manager Screen, the system in question has a Windows partition, a Linux swap partition, and a Linux primary partition, corresponding to the /dev/sda1, /dev/sda2, and /dev/sda3, respectively.

To edit a partition, click on its number, make the necessary changes, and click the Change button. Similarly, to delete a partition, select its partition number and click the Delete button at the bottom left hand corner of the screen.

NOTE: The partition to change or delete must be unmounted and not in use before Webmin will allow you to make any changes.

Adding partitions is also simple. Select the Add primary partitions link in the Partition Manager window. The resulting screen should resemble Figure See Webmin's Create Partition Screen.

 

 

  1. Webmin's Create Partition Screen

If you have only a single disk drive, the location will be set. Use the drop down list box to select the partition type and the device. If you want to change its size, edit the starting and/or ending cylinder values in the Extent text boxes. When you are done, click the Create button to create the partition. Follow a similar process to add an extended partition (after clicking the Add extended partition link, of course).

The Printer Administration Module

Managing printers on Linux systems has historically been a difficult, error-prone, and frustrating task. Webmin makes it a breeze to add and reconfigure printing from OpenLinux eDesktop. The main Printer Administration screen is shown in Figure See The Printer Administration Screen. To add a new printer, click the Add a new printer link, which opens the screen shown in Figure See The Create Printer Screen.

 

  1. The Printer Administration Screen

 

  1. The Create Printer Screen

Most of the information on this screen can be provided by a system administrator, especially if you are adding a network printer, one that is not physically attached to your computer. In the case of a network printer, select the Remote Unix server radio button (in the Print Destination section) and enter the name or IP address of the server. In the Printer text box, enter the printer's name (the name of the print queue on the print server). For example, to add a printer named inkbeast attached to queenbee.bugcorp.com, enter queenbee.bugcorp.com in the Remote Unix server and inkbeast in the Printer field. Make sure to provide a name for the printer in the Name text box in the Printer Configuration section of the screen. Click the Create button at the bottom of the screen (not shown in the figure) to save the configuration.

In the case of a local printer, one physically attached to your computer, Webmin offers a complete interface to both the COAS printer drivers and the Uniprint printer drivers (from Ghostscript). Select the appropriate driver for your printer, or the closest one if an exact match is not available, and make sure to set the correct paper size, because Webmin defaults to A3. Again, click the Create button to save the configuration.

NOTE: Should you use the Ghostscript driver of the COAS driver? In some case, the choice will be made for you because one driver or the other will not support your printer. If, on the other hand, both drivers support your printer, experiment with both drivers and select the one that produces the best results.

Editing a printer's configuration is as simple as clicking its name in the Printer column of the main screen, making the necessary changes, and clicking the Save button. To delete a printer or print queue, click it's name, then click the Delete button located in the bottom right hand corner of the screen.

The System Time Module

The System Time module is a simple interface to controlling both the system time, managed by the kernel, and the hardware clock (in the CMOS). Furthermore, you can add the name or address of a separate time server in order to keep your system synchronized to an external time source. The System Time screen is shown in Figure See The System Time Screen.

 

  1. The System Time Screen

NOTE: Changing the system time more than a few minutes at a time can have dramatic, possibly undesirable effects on your computer. The most likely problem will be that cron and at jobs may not run properly.

The Sync hardware time with system time button sets the hardware clock to the current system time while the Sync system time with hardware time button does the opposite.

Miscellaneous Modules

Miscellaneous modules, on the Others tab, are a collection of Webmin modules that do not fit into the other categories. They include the Custom Commands module, the File Manager module, and the Telnet Login module. The main screen is shown in Figure See The Miscellaneous Modules Tab.

 

  1. The Miscellaneous Modules Tab

The Custom Commands Module

When first started, no custom commands have been created, so start by clicking the Create a new custom command module link. Doing so opens the screen shown in Figure See The Create Command Screen.

 

  1. The Create Command Screen

The figure shows the Create Command screen for a sample custom command. The Command field contains the complete text of the actual command to execute. In this case, it is:

date >> /tmp/date_time

which appends the current date and time to the bottom of the file /tmp/date_time. The Run as user field selects the username under which the command is executed. This command accepts no arguments or options, so the Command parameters fields are left blank. Clicking the Save button returns to the main screen. The custom command becomes a labelled button, as shown in Figure See The Newly-Created Custom Webmin Command, that executes the command when it is clicked.

 

  1. The Newly-Created Custom Webmin Command

The Telnet Login Module

The Telnet module is designed to provide console access to the host system (the machine on which the Webmin server is running) through a browser (see Figure See The Telnet Login Screen). Select the Telnet Login icon and a Java applet will attempt to login to the system and establish a standard telnet session. Although insecure, the Java telnet applet can be crucial when you need console access to the system.

 

  1. The Telnet Login Screen

Webmin Modules

As you might expect, Webmin administers itself via the same browser-based interface it provides for overall system administration. The Webmin modules tab is shown in Figure See The Webmin Configuration Tab.

 

  1. The Webmin Configuration Tab

The Webmin Configuration Module

The Webmin Configuration icon displays the screen shown in Figure See See The Webmin Configuration Screen. From this screen you can change how Webmin is accessed, its default port and address, and so on. Until you become more experienced using Webmin, it is recommended that you leave these options alone.

NOTE: OpenLinux eDesktop configures Webmin to run on port 1000, a privileged port. Doing so adds an additional element of security to your system configuration.

 

 

 

  1. The Webmin Configuration Screen

The Webmin Help Module

Webmin's Help module is an interface for searching Webmin's help texts for a word or phrase. It is shown in Figure See The Webmin Help Screen. Simply enter the search text in the Search help for text box, select the All or Selected modules radio button to limit the search, then click the Search button. The results screen, a sample of which is shown in Figure See The Webmin Help ScreenXX, can be browsed much like a standard web page.

 

  1. The Webmin Help Screen

The Webmin Servers Index Module

The Webmin Servers Index module provides easy access to other Webmin servers on your network. Shown in Figure See The Webmin Servers Screen, it can find servers automatically when you click the Find Servers button. You can manually add a server by clicking the Register a new server link. On the resulting screen, shown in Figure See The Register Server Screen, enter the name of the server, and the port on which Webmin runs (1000 on OpenLinux), then click the Save button.

 

  1. The Webmin Servers Screen

 

 

 

  1. The Register Server Screen

Back at the main screen, you can then connect to a Webmin server by selecting its icon from the list.

The Webmin Users Module

The Webmin Users module allows you to add, remove, and modify the list of users permitted to use Webmin and to control what changes to the system configuration each user is allowed to make.

Clicking the Webmin Users icon opens a display similar to that shown in Figure See The Webmin Users Screen. As you can see, the first column shows a user name while the second column shows the modules to which that user has access.

 

  1. The Webmin Users Screen

Click on the user name to change the list of modules the user can access. Check and uncheck the option boxes next to the various modules, as shown in Figure See The Edit Webmin User Screen.

 

 

 

  1. The Edit Webmin User Screen

Each module has custom configuration options, accessed by clicking on the module names in the second column. It would be impractical to describe all of them here. However, a common configuration option is to allow a given user to edit the module configuration. Most modules have detailed help screens, so you are referred to them for in-depth information regarding module configuration. The default configurations should be sufficient for specialized situations.