<?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>RHEL Help</title>
	<atom:link href="http://rhelhelp.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rhelhelp.com</link>
	<description>Red Hat Enterprise Linux Tutorials</description>
	<lastBuildDate>Thu, 10 Sep 2009 14:45:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Notifications with notify-send</title>
		<link>http://rhelhelp.com/2009/09/10/creating-notifications-with-notify-send/</link>
		<comments>http://rhelhelp.com/2009/09/10/creating-notifications-with-notify-send/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:00:25 +0000</pubDate>
		<dc:creator>Zak</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[notify-send]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://rhelhelp.com/?p=104</guid>
		<description><![CDATA[Last week on the Linux Journal website, a tech tip was published showing how to get notifications from your scripts with notify-send. This is a great little tool that can display a pop-up message in the bottom right corner of your screen.
On RHEL, you can install notify-send with the following command:
yum install libnotify
To create a [...]]]></description>
			<content:encoded><![CDATA[<p>Last week on the <a href="http://www.linuxjournal.com/">Linux Journal website</a>, a tech tip was published showing how to <a href="http://www.linuxjournal.com/content/tech-tip-get-notifications-your-scripts-notify-send">get notifications from your scripts with notify-send</a>. This is a great little tool that can display a pop-up message in the bottom right corner of your screen.</p>
<p>On RHEL, you can install notify-send with the following command:</p>
<pre><code>yum install libnotify</code></pre>
<p>To create a notification, you could type the following:</p>
<pre><code>notify-send "Reboot Notification" "`hostname` will be rebooted at 1700 EST."</code></pre>
<p>The resulting notification will look something like this:</p>
<p><img src="http://rhelhelp.com/wp-content/uploads/2009/09/notification.png" alt="Reboot Notification" /></p>
]]></content:encoded>
			<wfw:commentRss>http://rhelhelp.com/2009/09/10/creating-notifications-with-notify-send/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving Hard Drive Info Via Command Line</title>
		<link>http://rhelhelp.com/2009/08/19/retrieving-hard-drive-info-via-command-line/</link>
		<comments>http://rhelhelp.com/2009/08/19/retrieving-hard-drive-info-via-command-line/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 21:59:19 +0000</pubDate>
		<dc:creator>Zak</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[hard drives]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[smartctl]]></category>

		<guid isPermaLink="false">http://rhelhelp.com/?p=80</guid>
		<description><![CDATA[It's possible find the make, model and serial number of the hard drive(s) in a RHEL or CentOS system without having physical access to the machine. Simply type the following command as root:
smartctl -i /dev/sda
The output will look something like this:
=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Second [...]]]></description>
			<content:encoded><![CDATA[<p>It's possible find the make, model and serial number of the hard drive(s) in a <a href="http://www.redhat.com/rhel/">RHEL</a> or <a href="http://www.centos.org/">CentOS</a> system without having physical access to the machine. Simply type the following command as root:</p>
<pre><code>smartctl -i /dev/sda</code></pre>
<p>The output will look something like this:</p>
<pre><code>=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Second Generation Serial ATA family
Device Model:     WDC WD3200AAJS-00L7A0
Serial Number:    WD-WCAV28394729
Firmware Version: 01.03E01
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Wed Aug 19 17:58:23 2009 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled</code></pre>
<p>In the above example, we are using /dev/sda. If you have multiple drives, you will need to run the <strong>smartctl</strong> command for each drive separately. You can get a list of all drives by running the following command as root:</p>
<pre><code>fdisk -l | grep Disk</code></pre>
<p>The output will look something like this:</p>
<pre><code>Disk /dev/sda: 320.0 GB, 320072933376 bytes
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
Disk /dev/sdc: 163.9 GB, 163928604672 bytes</code></pre>
<p>For more information on smartctl, check out the <a href="http://smartmontools.sourceforge.net/man/smartctl.8.html">man page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rhelhelp.com/2009/08/19/retrieving-hard-drive-info-via-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add A User Via Command Line</title>
		<link>http://rhelhelp.com/2009/08/11/add-a-user-via-command-line/</link>
		<comments>http://rhelhelp.com/2009/08/11/add-a-user-via-command-line/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 16:09:08 +0000</pubDate>
		<dc:creator>Zak</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[grub-md5-crypt]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[useradd]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://rhelhelp.com/?p=20</guid>
		<description><![CDATA[
Adding a user in RHEL or CentOS can easily be done using the system-config-users gui tool. However, sometimes you need to add users via the command line. This can be helpful when adding a lot of users at once or for scripting.
To add a user via command line, use the useradd command. The example below [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>Adding a user in <a href="http://www.redhat.com/rhel/">RHEL</a> or <a href="http://www.centos.org/">CentOS</a> can easily be done using the <strong>system-config-users</strong> gui tool. However, sometimes you need to add users via the command line. This can be helpful when adding a lot of users at once or for scripting.</p>
<p>To add a user via command line, use the <strong>useradd</strong> command. The example below uses the useradd command to add the user <strong>joe</strong> to the local machine:</p>
<pre><code>/usr/sbin/useradd -u <em>5000</em> -g <em>users</em> -G <em>wheel</em> -d /home/joe \
-c "<em>Joe's Account</em>" -p '<em>$1$826q9/$mBqVr.FxKdLkWr7a0OEAi0</em>' <em>joe</em></code></pre>
<p>Here's a quick breakdown of the command: </p>
<ul>
<li><strong>-u</strong> sets the user's unique identification number (UID)</li>
<li><strong>-g</strong> sets the user's primary group</li>
<li><strong>-G</strong> adds the user to additional groups</li>
<li><strong>-d</strong> set's the user's home directory</li>
<li><strong>-c</strong> set's the account description</li>
<li><strong>-p</strong> set's the user's password using an encrypted password hash</li>
</ul>
<p>To create the password hash for the -p option, use the <strong>grub-md5-crypt</strong> command:</p>
<pre><code>/sbin/grub-md5-crypt</code></pre>
<p>It will ask you to type the new password twice and then output the encrypted hash:</p>
<pre><code>$1$826q9/$mBqVr.FxKdLkWr7a0OEAi0</code></pre>
<p>Once you have the password hash, you can include it in the above useradd command.</p>
<p>It's worth noting that you can set the user's password after account creation using the <strong>passwd</strong> command:</p>
<pre><code>/usr/bin/passwd joe</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://rhelhelp.com/2009/08/11/add-a-user-via-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Determine RHEL Version</title>
		<link>http://rhelhelp.com/2009/08/09/how-to-determine-rhel-version/</link>
		<comments>http://rhelhelp.com/2009/08/09/how-to-determine-rhel-version/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:48:18 +0000</pubDate>
		<dc:creator>Zak</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat-release]]></category>

		<guid isPermaLink="false">http://rhelhelp.com/?p=11</guid>
		<description><![CDATA[Finding the version of Red Hat Enterprise Linux (RHEL) or CentOS you are running is easy. Simply open a terminal and type the following:
cat /etc/redhat-release
You should receive something like this:
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
That's it!
]]></description>
			<content:encoded><![CDATA[<p>Finding the version of Red Hat Enterprise Linux (RHEL) or CentOS you are running is easy. Simply open a terminal and type the following:</p>
<pre><code>cat /etc/redhat-release</code></pre>
<p>You should receive something like this:</p>
<pre><code>Red Hat Enterprise Linux Server release 5.3 (Tikanga)</code></pre>
<p>That's it!</p>
]]></content:encoded>
			<wfw:commentRss>http://rhelhelp.com/2009/08/09/how-to-determine-rhel-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
