Linux Network Services

The Structure and Elements of the Samba Configuration File

The Samba services are configured in the file etc samba smb.conf. The options in the this file are grouped into different sections. Each section starts with a keyword in square brackets. To set up a simple file server with Samba, do the following Create a Section for the General Server Configuration Create a Section for the Files to be Shared Create a Section for the General Server Configuration The section for the general server configuration starts with the keyword global . The following is...

Configure a DHCP Server Using YaST

Linux Network Server

The DHCP server can be configured with YaST by selecting YaST Network Services DHCP Server When this YaST module is started for the first time, a configuration wizard is started, enabling a simple, basic configuration in three steps. 1. Select the network interface on which the DHCP server is to listen 2. Set global settings such as the domain name and the IP addresses of name servers In SUSE LINUX Enterprise Server 9, the data of the DHCP server can be managed in an LDAP directory. To enable...

Configure Postfix Using etcsysconfigpostfix

Modifications in the file etc sysconfig postfix are only adopted in the file etc postfix main.cf and, in some cases, in the file etc postfix master.cf after the execution of sbin SuSEconfig or the SuSEconfig module for Postfix sbin SuSEconfig --module postfix The meanings of the variables are briefly commented in the configuration file etc sysconfig postfix. The following provides a more detailed description. POSTFIX_RELAYHOST. If the local email server should use a relay host to deliver emails...

Objective 5 Configure the Postfix Master Daemon

The Postfix master daemon usr lib postfix master is started directly by Postfix when the system is booted and is terminated only when the system goes down or if Postfix ends. The Postfix master daemon is normally configured once only when as the email system is set up, and is usually never changed. The master daemon monitor the entire mail system. Controls and monitors individual Postfix processes. Adheres to configured resource limits, which were defined in the file master.cf. Restarts killed...

Basic Configuration of Nagios

All configuration files for Nagios are located in the directory etc nagios . The main configuration file is etc nagios nagios.cfg, this can include additional configuration files. The file etc nagios nagios.cfg contains a lot of comments describing the different configuration options. Most of the options can be used as provided, we will describe only the most important options. The definition of the objects to monitor is done by including several configuration files using the cfg_file...

Configure Cyrus IMAPd

Cyrus IMAPd provides access to emails via IMAP and POP3. The mailboxes of the users are stored in a database which uses a special format. All users which receive emails via this service need to exist on the computer. These users do not need to have full access to the system, it is sufficient to have a username and a password. All mail is stored in a Cyrus hierarchical file structure. Hierarchical means, that changes on one level also influence the lower levels. It is possible for many servers...

Install Spam Assassin

Select the package spamassassin to install the spam filter. After the installation, four executable files will be available spamassassin. Starts SpamAssassin. spamd. A daemonized version of the SpamAssassin executable. This daemon is useful for automated mail checks. spamc. A client for spamd. Use spamc instead of SpamAssassin in your own scripts. sa-learn. A tool to train SpamAssassin. SpamAssassin is configured by editing the file etc mail spamassassin local.cf After the installation, this...

The Command Line Program slptool

Slptool is a simple command line program that can be used To introduce SLP services to the Service Agents dynamically (only valid during runtime). To discover SLP services on the network. The first functionality has already been discussed. Here is an example how to use the second functionality To find out which server provides SSH services, do the following 1. On the command line, enter slptool findsrvtypes A list of services similar to the following is displayed 2. Use service ssh to get...

Configure the Nagios Web Server

In order to use the webserver of Nagios, some configuration has to be done. The webserver is designed to use the Apache webserver, on SLES it's Apache version 2. By default, access to the webserver is only allowed from localhost. The configuration file is etc apache2 conf.d nagios.conf ScriptAlias nagios cgi-bin usr lib nagios cgi Options ExecCGI order deny,allow deny from all allow from 127.0.0.1 Alias nagios usr share nagios Options None order deny,allow deny from all allow from 127.0.0.1 In...

Retrieve Mail with Fetchmail

You can use Fetchmail to retrieve email from a server. The package fetchmail must be installed and configured in the file .fetchmailrc. Fetchmail provides a wide range of customization options, such as The processing of various mailboxes. Fetching mail for multiple users. Integration of filter programs. Encrypted transmission with SSL. To start Fetchmail, use the fetchmail command. In addition, the progam has numerous options which can supplied when starting the program. By default, Fetchmail...