<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Mail Server Setup and Howto Guide &#187; CentOS 5</title>
	<atom:link href="http://www.linuxmail.info/category/centos-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Tue, 01 Nov 2011 00:43:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Add the EPEL Repository in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/add-epel-centos-6/</link>
		<comments>http://www.linuxmail.info/add-epel-centos-6/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 12:55:12 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=403</guid>
		<description><![CDATA[This article describes how to add the EPEL repository in Red Hat Enterprise Linux and CentOS 5 or 6.]]></description>
			<content:encoded><![CDATA[<p><strong>EPEL</strong> (Extra Packages for Enterprise Linux) is a third party RPM repository for Red Hat Enterprise Linux and CentOS. This article describes how to add the EPEL repository in Red Hat Enterprise Linux and CentOS 5 or 6.</p>
<span id="more-403"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-6/install-epel-rpm.png"><img class="preview" alt="Install EPEL" src="/images/centos-6/t-install-epel-rpm.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Install the EPEL package using the command below.
<pre class="steps">
rpm -Uvh http://bit.ly/q7kHBq
</pre>
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The full link for the RHEL 6 EPEL package and the links for the lower versions of RHEL are provided below. The rpm command prior to RHEL 6 cannot handle http redirects so no bit.ly links have been provided.</div>
<div class="clearfix steps">
<table>
<tr><th>&nbsp;</th><th>URL</th></tr>
<tr><td>6</td><td><a href="http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm">http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm</a></td></tr>
<tr><td>5</td><td><a href="http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm">http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm</a></td></tr>
<tr><td>4</td><td><a href="http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm">http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm</a></td></tr>
</table>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-repolist.png"><img class="preview" alt="yum repolist" src="/images/centos-6/t-yum-repolist.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Verify the installation using the command below. You should see <em>epel</em> in the output.
<pre class="steps">
yum repolist
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-install-priorities.png"><img class="preview" alt="install yum priorities" src="/images/centos-6/t-yum-install-priorities.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Install the Yum priorities package using the command below.
<pre class="steps">
yum install yum-priorities
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/edit-epel-repo.png"><img class="preview" alt="edit epel.repo" src="/images/centos-6/t-edit-epel-repo.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Edit the file <em>/etc/yum.repos.d/epel.repo</em> and add the line below under the <em>[epel]</em> section.
<pre class="steps">
priority=10
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-6/yum-check-update.png"><img class="preview" alt="yum check update" src="/images/centos-6/t-yum-check-update.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Test your configuration using the command below. You should see a <em>priority protections</em> message in the output.
<pre class="steps">
yum check-update
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/add-epel-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Start and Stop Services in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/how-to-start-stop-services-centos-6/</link>
		<comments>http://www.linuxmail.info/how-to-start-stop-services-centos-6/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 00:37:00 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=399</guid>
		<description><![CDATA[How to start, stop or restart services in Red Hat Enterprise Linux or CentOS 5 or 6 using the Service Configuration tool]]></description>
			<content:encoded><![CDATA[<p>Starting and stopping services is easy in Red Hat Enterprise Linux 6 and its derivative CentOS 6. Both includes the <strong>Service Configuration</strong> tool which simplifies service administration.</p>
<span id="more-399"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Manage Services (RHEL 6)</h2>
<p>This section describes how to manage the services using the <strong>Service Configuration</strong> tool.</p>
<div class="clearfix steps"><a href="/images/centos-6/services.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em>, and click <em>Services</em>. This will launch the <strong>Service Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-6/service-config-1.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-service-config-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Service Configuration</strong> window, select the service you wish to run when the system starts and click <em>Enable</em>.</div>
<div class="clearfix steps"><a href="/images/centos-6/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-6/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. To immediately run the service, click <em>Start</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure <strong>xinetd</strong> is running if you enable any on demand services.</div>
<h2 id="rhel5">Manage Services (RHEL 5)</h2>
<p>This section describes how to manage the services using the <strong>Service Configuration</strong> tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/services.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em>, select <em>Server Settings</em> and click <em>Services</em>. This will launch the <strong>Service Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-1.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. In the <strong>Service Configuration</strong> window, check the service you wish to start on the next system startup, in this case the service <em>postfix</em>. To start the service immediately, press <em>Start</em>.</div><div>&nbsp;</div><div class="m">Unchecked services will not be started on the next system startup. To immediately stop a service, select the service and press <em>Stop</em>.</div><div>&nbsp;</div><div class="m">To restart a service, select the service and press <em>Restart</em>.</div></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Press <em>Save</em> to save your changes.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-poppassd.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. You can also do the same for <em>On-Demand Services</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure <strong>xinetd</strong> is running if you enable any <em>On-Demand Services</em>. You can find xinetd in the <em>Background Services</em> tab.</div>
<h2>Manage Services (Console)</h2>
<p>Listed below are the console commands to manage the services. You need to have root level access to use the commands below.</p>
<div class="clearfix steps">
<table>
<tr>
  <th colspan="2">Task</th>
</tr>
<tr>
  <th>RHEL/CentOS</th>
  <th>Ubuntu</th>
</tr>
<tr>
  <td colspan="2">Display all the available services</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig &ndash;&ndash;list</pre></td>
  <td>N/A</td>
</tr>
<tr>
  <td colspan="2"><br />Enable the service</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig [name] on</pre></td>
  <td><pre>/usr/sbin/update-rc.d [name] defaults</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Disable the service</td>
</tr>
<tr>
  <td><pre>/sbin/chkconfig [name] off</pre></td>
  <td><pre>/usr/sbin/update-rc.d -f [name]<br />&nbsp;remove</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Start the background service</td>
<tr>
</tr>
  <td><pre>/sbin/service [name] start</pre></td>
  <td><pre>/usr/sbin/service [name] start</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Stop the background service</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] stop</pre></td>
  <td><pre>/usr/sbin/service [name] stop</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Restart the background service</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] restart</pre></td></td>
  <td><pre>/usr/sbin/service [name] restart</pre></td>
</tr>
<tr>
  <td colspan="2"><br />Display the background service status</td>
</tr>
<tr>
  <td><pre>/sbin/service [name] status</pre></td>
  <td><pre>/usr/sbin/service [name] status</pre></td>
</tr>
</table>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/how-to-start-stop-services-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Management in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/file-management-centos-5/</link>
		<comments>http://www.linuxmail.info/file-management-centos-5/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 13:35:55 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=393</guid>
		<description><![CDATA[This article describes how to manage your files in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to manage your files in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-393"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>File Management (GUI)</h2>
<p>Managing files in GUI mode is a simple as launching the <strong>File Browser</strong>.</p>
<div class="clearfix steps"><a href="/images/centos-5/file-browser-shortcut.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>System Tools</em> then click <em>File Browser</em>. This will launch the <strong>File Browser</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. From the <strong>File Browser</strong> tool you can now perform your desired file operation.</div>
<h2>File Management (Console)</h2>
<p>Below are the console commands to manage files. This is just an overview of the commands available, to get more information, type in <tt><strong>man</strong> <em>command</em></tt> to get the manual for the specified command.</p>
<h3>Common Operations</h3>
<ul class="spaced">
<li><tt><strong>cp -a</strong> <em>source</em> <em>dest</em></tt><br />copy the specified file or directory</li>
<li><tt><strong>rm -rf</strong> <em>name</em></tt><br />delete the specified file or directory and all of its contents</li>
<li><tt><strong>mv</strong> <em>old</em> <em>new</em></tt><br />move a file or directory to a new location. Also used to rename a file or directory</li>
<li><tt><strong>ln -s</strong> <em>source</em> <em>linkname</em></tt><br />create a symbolic link to the specified file or directory</li>
</ul>
<h3>Directory Operations</h3>
<ul class="spaced">
<li><tt><strong>cd</strong></tt><br />change to the home directory</li>
<li><tt><strong>cd</strong> <em>path</em></tt><br />change to the specified directory</li>
<li><tt><strong>pwd</strong></tt><br />print working directory</li>
<li><tt><strong>ls</strong></tt><br />list directory</li>
<li><tt><strong>mkdir</strong> <em>name</em></tt><br />create the specified directory</li>
<li><tt><strong>rmdir</strong> <em>name</em></tt><br />delete the specified directory. Directory should be empty</li>
</ul>
<h3>File Operations</h3>
<ul class="spaced">
<li><tt><strong>chown</strong> <em>owner</em> <em>file</em></tt><br />change the file owner to the specified user</li>
<li><tt><strong>chmod</strong> <em>permissions</em> <em>files</em></tt><br />change the file permissions</li>
<li><tt><strong>cat</strong> <em>file</em></tt><br />shows the file content</li>
<li><tt><strong>more</strong> <em>file</em></tt><br />shows the file content a few screens at a time</li>
<li><tt><strong>less</strong> <em>file</em></tt><br />shows the file content similar to how vi displays a file</li>
<li><tt><strong>vi</strong> <em>file</em></tt><br />edit the specified file. <a href="/vi-editor-tutorial/">Learn how to use the vi editor</a></li>
<li><tt><strong>head</strong> <em>file</em></tt><br />shows the first few lines of a file</li>
<li><tt><strong>tail</strong> <em>file</em></tt><br />shows the last few lines of a file</li>
<li><tt><strong>sort</strong> <em>file</em></tt><br />shows the file content in order by lines</li>
<li><tt><strong>uniq</strong> <em>file</em></tt><br />shows the file content, discarding all but one of successive identifical lines</li>
<li><tt><strong>grep</strong> <em>pattern</em> <em>file</em></tt><br />searches for the pattern inside the specified file</li>
<li><tt><strong>file</strong> <em>filename</em></tt><br />determine file type</li>
<li><tt><strong>diff</strong> <em>file1</em> <em>file1</em></tt><br />compares two files</li>
</ul>
<h2>Recommended Book</h2>
<div class="clearfix steps"><img src="http://www.assoc-amazon.com/e/ir?t=linuxmail-20&#038;l=as2&#038;o=1&#038;a=047025128X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow"><img src="/images/books/linux-command-line.jpg" class="book" alt="Linux Command Line and Shell Scripting Bible" height="126" /></a><p><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow">Linux Command Line and Shell Scripting Bible</a></p>
<p>It is painful to work with Linux if you are not familiar with its arcane commands. Googling the right command for every problem encountered wastes a lot of valuable time.</p>
<p>Learning its commands enables you to do more with less time. Wouldn&#8217;t it be great if those backups are performed automatically everyday. Or you are notified via email if your file server is about to run out of disk space.</p>
<p>This book provides a comprehensive list of Linux commands and shows you how to use them in a clear and concise manner.</p> 
<p><a href="http://www.amazon.com/gp/product/047025128X?ie=UTF8&#038;tag=linuxmail-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047025128X" rel="nofollow">Get the book and harness the full power of Linux.</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/file-management-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Network Device in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/configure-network-device-centos-5/</link>
		<comments>http://www.linuxmail.info/configure-network-device-centos-5/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 07:56:59 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=391</guid>
		<description><![CDATA[This article describes how to configure network devices in Red Hat Enterprise Linux or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>Red Hat Enterprise Linux 5 and its derivative CentOS 5, includes tools to configure the network device. This article describes how to configure network devices in Red Hat Enterprise Linux or CentOS 5.</p>
<span id="more-391"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configure Network Device (GUI)</h2>
<p>This section describes how to configure the network device using GUI tools.</p>
<div class="clearfix steps"><a href="/images/centos-5/system-network-shortcut.png"><img class="preview" alt="Network" src="/images/centos-5/t-system-network-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> then click <em>Network</em>. This will launch the <strong>Network Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the network device you want to modify and click <em>Edit</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/ethernet-device.png"><img class="preview" alt="Ethernet Device" src="/images/centos-5/t-ethernet-device.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Ethernet Device</strong> window, apply your changes and click <em>OK</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-dns.png"><img class="preview" alt="Edit DNS" src="/images/centos-5/t-network-configuration-dns.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>DNS</em> tab and apply your DNS settings.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-save.png"><img class="preview" alt="Save" src="/images/centos-5/t-network-configuration-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. To save your changes, click the <em>File</em> and click <em>Save</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-deactivate.png"><img class="preview" alt="Restart" src="/images/centos-5/t-network-configuration-deactivate.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. To effect your changes, click the <em>Devices</em> tab. Next, select the device and click <em>Deactivate</em> then click <em>Activate</em> to reactivate the device.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit Hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. <a href="/configure-host-name-lookup-centos-5/">Update your <em>/etc/hosts</em> file.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />Although the <strong>Network Configuration</strong> tool has a feature to update the <em>/etc/hosts</em> file, it is more reliable to edit it directly instead.</div>
<h2>Configure Network Device (TUI)</h2>
<p>This section describes how to configure the network device using text user interface (TUI) tools.</p>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration-tui.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration-tui.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch the <strong>Network Configuration</strong> TUI tool using the command below. Then apply the necessary changes to your network device.
<pre class="steps">
system-config-network-tui
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-network-restart.png"><img class="preview" alt="Restart" src="/images/centos-5/t-service-network-restart.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. To effect your changes, restart the network service using the command below.
<pre class="steps">
service network restart
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit Hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/configure-host-name-lookup-centos-5/">Update your <em>/etc/hosts</em> file.</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/configure-network-device-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Host Name Lookup in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/configure-host-name-lookup-centos-5/</link>
		<comments>http://www.linuxmail.info/configure-host-name-lookup-centos-5/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 01:15:37 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=389</guid>
		<description><![CDATA[This article describes how to edit the static host name lookup table file /etc/hosts in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>Before starting to use Red Hat Enterprise Linux 5 or CentOS 5, the static host name table lookup file /etc/hosts must be corrected first. The steps below describes how to do this.</p>
<span id="more-389"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configure Hosts</h2>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>System Tools</em> then click <em>File Browser</em>. This will launch the <strong>File Browser</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/file-browser-etc.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser-etc.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <em>Location</em> field, type in <em>/etc</em> and press Enter. If you don&#8217;t see the Location field, click the notepad button to toggle to text-based location bar.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-hosts.png"><img class="preview" alt="Edit hosts" src="/images/centos-5/t-edit-hosts.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Locate and double click on the file <em>hosts</em> to open it for editing. Update the content similar to the lines below.
<pre class="steps">
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.0.4     mail.acme.local mail
</pre>
Replace the last line with your own <em>IP address</em>, <em>fully qualified domain name</em> and <em>host name</em>.
</div>
<h2>Test the Host Name Lookup</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em>, select <em>Accessories</em>, and click <em>Terminal</em>. This will launch the <strong>Terminal</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/ping-localhost.png"><img class="preview" alt="ping localhost" src="/images/centos-5/t-ping-localhost.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the terminal window, type in the command below.
<pre class="steps">
ping localhost
</pre>
You should see <em>localhost.localdomain</em> and <em>127.0.0.1</em></div>
<div class="clearfix steps"><a href="/images/centos-5/ping-mail.png"><img class="preview" alt="ping localhost" src="/images/centos-5/t-ping-mail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Next, type in the command below.
<pre class="steps">
ping mail
</pre>
Replace <em>mail</em> with your own hostname. You should see your fully qualified domain name and ip address.</div>
<div class="left">&laquo;&laquo; Previous: <a href="/how-to-setup-centos-5-linux/">How to Setup CentOS 5 Linux</a></div><div class="right">Next: <a href="/postfix-smtp-server-howto-centos-5/">How to Setup Postfix SMTP Server</a> &raquo;&raquo;</div>
<div style="clear: both">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/configure-host-name-lookup-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Setup User Password Expiration in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/user-password-expiration-setup-howto/</link>
		<comments>http://www.linuxmail.info/user-password-expiration-setup-howto/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 14:33:57 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=360</guid>
		<description><![CDATA[This article describes how to setup password expiration using the User Manager application.]]></description>
			<content:encoded><![CDATA[<p>Ideally, passwords should be changed regularly. This article describes how to setup password expiration using the <strong>User Manager</strong> application in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-360"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/users-and-groups.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-users-and-groups.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Applications</em> then select <em>System Settings</em> and click <em>Users and Groups</em>. This will launch the <strong>User Manager</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-2.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the user you wish to configure and click <em>Properties</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-user-data.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-user-data.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>User Properties</strong> windows, click the <em>Password Info</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-password-info.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-password-info.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">4. Check the <em>Enable Password Expiration</em> checkbox to enable password expiration. The list below describes the available settings.
<ul class="spaced noindent">
<li><em>Days before change allowed</em><br />Number of days from the last password change to allow another password change.</li>
<li><em>Days before change required</em><br />Number of days from the last password change to require another password change.</li>
<li><em>Days warning before change</em><br />Number of days before the expiry of the password to notify the user.</li>
<li><em>Days before account inactive</em><br />Number of inactive days after the expiry of the password to deactivate the account. 0 means do not deactivate.</li>
</ul>
</div>
</div>
<div class="clear">
<img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can also do this from the command line, below are the equivalent commands.
<ul class="spaced">
<li><tt><strong>chage login_name</strong></tt><br />modifies the password expiry information of the specified login name. You need root access to use this command.</li>
<li><tt><strong>chage -l login_name</strong></tt><br />shows the password expiry information of the specified login name</li>
<li><tt><strong>chage</strong></tt><br />displays the help information</li>
</ul>
</div>
<div><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can notify the users with expiring password via email using the <a href="/files/checkpwexpire">checkpwexpire script</a>. Copy the script into the <em>/etc/cron.daily</em> and give it execute permission so it will automatically run every day.</div>
<div>&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/user-password-expiration-setup-howto/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>System Administration Howto</title>
		<link>http://www.linuxmail.info/system-administration-howto/</link>
		<comments>http://www.linuxmail.info/system-administration-howto/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 14:07:13 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=347</guid>
		<description><![CDATA[This article contains useful links on how to administer a Red Hat Enterprise Linux 5 or CentOS 5 server.]]></description>
			<content:encoded><![CDATA[<p>This article contains useful links on how to administer a Red Hat Enterprise Linux 5 or CentOS 5 server.</p>
<span id="more-347"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>System Management</h2>
<p>This section describes how to perform system management tasks.</p>
<div class="clearfix steps"><a href="/images/centos-5/file-browser.png"><img class="preview" alt="File Browser" src="/images/centos-5/t-file-browser.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/file-management-centos-5/">How to manage directories and files</a></div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-add-remove-user-accounts-centos-5/">How to add, edit or remove a user account</a></div>
<div class="clearfix steps"><a href="/images/centos-5/package-manager-apps.png"><img class="preview" alt="Package Manager" src="/images/centos-5/t-package-manager-apps.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-add-remove-applications-centos-5/">How to add or remove packages or applications</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-start-stop-services-centos-5/">How to start, stop or restart a background service</a><br /><a href="/how-to-start-stop-services-centos-5/">How to enable or disable an on demand service</a></div>
<div class="clearfix steps"><a href="/images/centos-5/network-configuration.png"><img class="preview" alt="Network Configuration" src="/images/centos-5/t-network-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/configure-network-device-centos-5/">How to configure a network device</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/firewall-configuration-centos-5/">How to configure the firewall</a></div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties-2.png"><img class="preview" alt="Date and Time Properties" src="/images/centos-5/t-date-time-properties-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/synchronize-system-clock-centos-5/">How to synchronize the system clock using NTP</a></div>
<h2>System Utilities</h2>
<p>This section describes utilities you can use to manage your system.</p>
<div class="clearfix steps"><a href="/images/windows-xp/putty-terminal.png"><img class="preview" alt="PuTTY" src="/images/windows-xp/t-putty-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/ssh-howto/">How to setup SSH to remotely administer a Linux server using a command line</a></div>
<div class="clearfix steps"><a href="/images/windows-xp/tightvnc-session.png"><img class="preview" alt="TightVNC Session" src="/images/windows-xp/t-tightvnc-session.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/vnc-remote-desktop-howto/">How to use VNC to remotely administer a Linux server using a GUI</a></div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-main.png"><img class="preview" alt="Webmin Main" src="/images/centos-5/t-webmin-main.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/webmin-setup-howto/">How to setup Webmin, a web based system administration tool</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-rsync.png"><img class="preview" alt="Service rsync" src="/images/centos-5/t-service-rsync.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/rsync-howto/">How to use rsync to synchronize files between two computers</a></div>
<div class="clearfix steps"><a href="/images/vi/vi-3.gif"><img class="preview" alt="vi" src="/images/vi/t-vi-3.gif" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/vi-editor-tutorial/">How to use vi, a command line editor</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/system-administration-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poppassd Setup Howto for RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/poppassd-setup-howto-centos-5/</link>
		<comments>http://www.linuxmail.info/poppassd-setup-howto-centos-5/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 12:23:32 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=340</guid>
		<description><![CDATA[This article describes how to setup poppassd, a password changing service, in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p><strong>Poppassd</strong> is a service that changes system passwords. This article describes how to setup poppassd in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-340"></span>
<div class="clearfix steps"><a href="/images/centos-5/firefox-razorsedge.png"><img class="preview" alt="Firefox Razors Edge" src="/images/centos-5/t-firefox-razorsedge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Download and install the <a href="http://rpm.razorsedge.org/centos-5/RE/razorsedge-release-4-1.el5.re.noarch.rpm">Razor&#8217;s Edge Repository rpm package</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/yum-install-poppassd.png"><img class="preview" alt="yum install poppassd" src="/images/centos-5/t-yum-install-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Install <em>poppassd</em> using the command below.
<pre class="steps">
yum install poppassd
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-poppassd.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Enable the on-demand service <em>poppassd</em>. <a href="/how-to-start-stop-services-centos-5/">Learn how to enable on-demand services here.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure <strong>xinetd</strong> is also running so it can automatically launch poppassd.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-poppassd.png"><img class="preview" alt="Edit poppassd" src="/images/centos-5/t-edit-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">4. Edit the file <em>/etc/pam.d/poppassd</em> and replace the content with the lines below.
<pre class="steps">
auth      required    pam_unix.so
account   required    pam_unix.so
password  requisite   pam_cracklib.so
password  sufficient  pam_unix.so md5 shadow
</pre>
</div>
</div>
<p><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The line <tt>password requisite pam_cracklib.so</tt> requires the new password to be strong and at least six (6) characters long. You can leave it out if you do not want that restriction.</p>
<div class="clearfix steps"><a href="/images/centos-5/terminal-poppassd.png"><img class="preview" alt="terminal poppassd" src="/images/centos-5/t-terminal-poppassd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In a <strong>Terminal</strong> window, type in the highlighted commands below.</div>
<p>Sample poppassd session. Replace <strong>johndoe</strong>, <strong>secret</strong> and <strong>p@ssw0rd</strong> with your own valid user account, old password and new password respectively.</p>
<pre class="steps">
[root@mail ~]# <span class="h">telnet localhost 106</span>
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
200 poppassd v1.8.5 hello, who are you?
<span class="h">user johndoe</span>
200 Your password please.
<span class="h">pass secret</span>
200 Your new password please.
<span class="h">newpass p@ssw0rd</span>
200 Password changed, thank-you.
<span class="h">quit</span>
200 Bye.
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/poppassd-setup-howto-centos-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Add the RPMforge Repository in RHEL/CentOS 5/6</title>
		<link>http://www.linuxmail.info/add-rpmforge-centos-5/</link>
		<comments>http://www.linuxmail.info/add-rpmforge-centos-5/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:51:21 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 6]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=301</guid>
		<description><![CDATA[This article describes how to add the RPMforge repository in Red Hat Enterprise Linux or CentOS 5 or 6.]]></description>
			<content:encoded><![CDATA[<p><strong>RPMforge</strong> is a third party RPM repository for Red Hat Enterprise Linux or CentOS. Adding the RPMforge repository will give you access to an extensive library of precompiled binaries. This article describes how to add the RPMforge repository in Red Hat Enterprise Linux or CentOS 5 or 6.</p>
<span id="more-301"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Adding RPMforge to Yum</h2>
<p>The rpmforge repo package can be downloaded from the site below.</p>
<div class="clearfix steps"><a href="/images/centos-5/firefox-rpmforge.png"><img class="preview" alt="Firefox RPMforge" src="/images/centos-5/t-firefox-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch Firefox and go to <a href="http://dag.wieers.com/rpm/FAQ.php#B2">http://dag.wieers.com/rpm/FAQ.php#B2</a>. Click on the package appropriate for your version of Red Hat Enterprise Linux or CentOS.</div>
<div class="clearfix steps"><a href="/images/centos-5/firefox-rpmforge-install.png"><img class="preview" alt="Firefox RPMForge Install" src="/images/centos-5/t-firefox-rpmforge-install.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Choose <em>Open with Software Installer (default)</em> and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/installing-rpmforge.png"><img class="preview" alt="Installing RPMForge" src="/images/centos-5/t-installing-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. The <strong>Installing packages</strong> window will appear. Click <em>Apply</em> to proceed.</div>
<div class="clearfix steps"><a href="/images/centos-5/install-rpmforge-success.png"><img class="preview" alt="Installing RPMForge" src="/images/centos-5/t-install-rpmforge-success.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Finally click <em>Ok</em>.</div>
<h2>Lowering the RPMforge priority</h2>
<p>Lowering the priority of the RPMforge repository will ensure that the base packages provided by RHEL/CentOS will not be replaced by a newer version from RPMforge.</p>
<div class="clearfix steps"><a href="/images/centos-5/yum-install-priorities.png"><img class="preview" alt="Install priorities" src="/images/centos-5/t-yum-install-priorities.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Install the Yum priorities package using the command below.
<pre class="steps">
yum install yum-priorities
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-rpmforge-repo.png"><img class="preview" alt="Edit rpmforge.repo" src="/images/centos-5/t-edit-rpmforge-repo.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/yum.repos.d/rpmforge.repo</em> and add the line below.
<pre class="steps">
priority=10
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/yum-check-update.png"><img class="preview" alt="Yum check update" src="/images/centos-5/t-yum-check-update.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Test your configuration using the command below. You should see a <em>priority protections</em> message in the output.
<pre class="steps">
yum check-update
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/add-rpmforge-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LDAP Authentication in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/ldap-authentication-centos-5/</link>
		<comments>http://www.linuxmail.info/ldap-authentication-centos-5/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 02:26:09 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[CentOS 5]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=251</guid>
		<description><![CDATA[This articles describes how to use LDAP authentication in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p>An LDAP server like the 389 Directory Server and OpenLDAP can be used to centralize the users and authentication information. This articles describes how to use LDAP based authentication in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-251"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<p>The attributes below are required to be filled up to be able to use LDAP authentication.</p>
<ul>
<li><em>uid</em> &#8211; User name</li>
<li><em>userPassword</em> &#8211; User password</li>
<li><em>uidNumber</em> &#8211; UID</li>
<li><em>gidNumber</em> &#8211; GID</li>
<li><em>homeDirectory</em> &#8211; Home directory</li>
<li><em>loginShell</em> &#8211; Login shell</li>
</ul>
<div class="clearfix steps"><a href="/images/centos-5/fds-posix-user.png"><img class="preview" alt="Posix User" src="/images/centos-5/t-fds-posix-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>If you are using <strong>Fedora Directory Server</strong>, it has a great GUI tool for managing the required Posix attributes.</div>
<h2>Setup Authentication</h2>
<div class="clearfix steps"><a href="/images/centos-5/authentication.png"><img class="preview" alt="Authentication" src="/images/centos-5/t-authentication.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> and click <em>Authentication</em>. This will launch the <strong>Authentication Configuration</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/auth-config-user-information.png"><img class="preview" alt="Authentication Configuration" src="/images/centos-5/t-auth-config-user-information.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Check <em>Enable LDAP Support</em> and click the <em>Configure LDAP</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/auth-config-ldap-settings.png"><img class="preview" alt="LDAP Settings" src="/images/centos-5/t-auth-config-ldap-settings.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Fill in the <em>LDAP Search Base DN</em> and <em>LDAP Server</em> fields. Click <em>Ok</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/auth-config-authentication.png"><img class="preview" alt="Authentication" src="/images/centos-5/t-auth-config-authentication.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>Authentications</em> tab and check <em>Enable LDAP Support</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/auth-config-options.png"><img class="preview" alt="LDAP Settings" src="/images/centos-5/t-auth-config-options.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click the <em>Options</em> tab and check <em>Local authorization is sufficient for local users</em> and <em>Create home directories on the first login</em>. Click <em>Ok</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-getent-passwd.png"><img class="preview" alt="getent passwd" src="/images/centos-5/t-terminal-getent-passwd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Type in <tt>getent passwd</tt> in a terminal window. You should see your LDAP user accounts.</div>
<p>Finally, reboot your computer. You should now be able to login using LDAP user accounts.</p>
<p><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If your LDAP server requires authentication or its attributes does not conform to the RFC 2307 specification, you need to edit the file <em>/etc/ldap.conf</em> to make this work. See <a href="/active-directory-single-sign-on/">Active Directory Authentication</a> for an example.</p>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />The version of <em>sudo</em> that comes with RHEL/CentOS 5 does not work with non local user accounts. While this is not yet fixed, use the <a href="http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/sudo">sudo rpm package for Fedora 8</a>.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/ldap-authentication-centos-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.356 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-04 14:50:21 -->
<!-- Compression = gzip -->
