<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>it.guy.kelly</title>
	<atom:link href="http://itguykelly.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://itguykelly.wordpress.com</link>
	<description>Stuff learned the hard way.</description>
	<lastBuildDate>Tue, 28 Jun 2011 20:41:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='itguykelly.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>it.guy.kelly</title>
		<link>http://itguykelly.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://itguykelly.wordpress.com/osd.xml" title="it.guy.kelly" />
	<atom:link rel='hub' href='http://itguykelly.wordpress.com/?pushpress=hub'/>
		<item>
		<title>-Xrs parameter in JAVA_OPTIONS in Solaris</title>
		<link>http://itguykelly.wordpress.com/2011/06/28/xrs-parameter-in-java_options-in-solaris/</link>
		<comments>http://itguykelly.wordpress.com/2011/06/28/xrs-parameter-in-java_options-in-solaris/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 20:41:27 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=98</guid>
		<description><![CDATA[On one of my web servers I use the &#8220;-Xrs&#8221; parameter in the JAVA_OPTIONS on a Solaris server.  This tells the JVM to ignore any system shutdown requests.  This prevents the JVM from shutting down in the event there is a system panic which may not otherwise cause a system crash.   See the JVM [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=98&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On one of my web servers I use the &#8220;-Xrs&#8221; parameter in the JAVA_OPTIONS on a Solaris server.  This tells the JVM to ignore any system shutdown requests.  This prevents the JVM from shutting down in the event there is a system panic which may not otherwise cause a system crash.   See the <a href="http://download.oracle.com/javase/1.5.0/docs/tooldocs/solaris/java.html" target="_blank">JVM parameters page for Solaris</a> for more details.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=98&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/06/28/xrs-parameter-in-java_options-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Grep through a unix directory with a long list of files</title>
		<link>http://itguykelly.wordpress.com/2011/06/16/grep-through-a-unix-directory-with-a-long-list-of-files/</link>
		<comments>http://itguykelly.wordpress.com/2011/06/16/grep-through-a-unix-directory-with-a-long-list-of-files/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 20:36:20 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[how do I?]]></category>
		<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=95</guid>
		<description><![CDATA[Sometimes when attempting to grep through the files in a directory, there are so many files in the directory that grep returns an error indicating the argument list is too long.  Fix this by using xargs. find ./ -print &#124; xargs grep -l &#60;your_string&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=95&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes when attempting to grep through the files in a directory, there are so many files in the directory that grep returns an error indicating the argument list is too long.  Fix this by using <strong>xargs</strong>.</p>
<blockquote><p>find ./ -print | xargs grep -l <em>&lt;your_string&gt;</em></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=95&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/06/16/grep-through-a-unix-directory-with-a-long-list-of-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Count number of files in a unix directory</title>
		<link>http://itguykelly.wordpress.com/2011/06/16/count-number-of-files-in-a-unix-directory/</link>
		<comments>http://itguykelly.wordpress.com/2011/06/16/count-number-of-files-in-a-unix-directory/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 20:33:15 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[how do I?]]></category>
		<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=92</guid>
		<description><![CDATA[ls -1 &#124; wc -l<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=92&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote>
<pre>ls -1 | wc -l</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=92&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/06/16/count-number-of-files-in-a-unix-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Edit nofiles</title>
		<link>http://itguykelly.wordpress.com/2011/05/02/edit-nofiles/</link>
		<comments>http://itguykelly.wordpress.com/2011/05/02/edit-nofiles/#comments</comments>
		<pubDate>Mon, 02 May 2011 20:17:05 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=82</guid>
		<description><![CDATA[Running an Oracle ODI installer on a CentOS vm, I encountered an error of the type: checking for hardnofiles = 4096; found hardnofiles = 1024 Failed checking for softnofiles = 4096; softnofiles = 1024 Failed The fix was to edit my/etc/security/limits.conf file: * soft nofile 16384 * hard nofile 65536<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=82&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Running an Oracle ODI installer on a CentOS vm, I encountered an error of the type:</p>
<blockquote><p>checking for hardnofiles = 4096; found hardnofiles = 1024 Failed<br />
checking for softnofiles = 4096; softnofiles = 1024 Failed</p></blockquote>
<p>The fix was to edit my/etc/security/limits.conf file:</p>
<blockquote><p>* soft nofile 16384<br />
* hard nofile 65536</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=82&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/05/02/edit-nofiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Add/view/delete an entry to iptables to enable Apache/VNCServer/FTP, etc.</title>
		<link>http://itguykelly.wordpress.com/2011/04/28/add-an-entry-to-iptables-to-enable-apache-httpd/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/28/add-an-entry-to-iptables-to-enable-apache-httpd/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 18:16:34 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[apache httpd]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how do I?]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=76</guid>
		<description><![CDATA[The default CentOS 5.6 firewall configuration does not allow Apache httpd traffic on port 80.  In order to open the port for utilization, a change must be made to the firewall configuration. iptables -I INPUT -p tcp -m tcp ––dport 80 -j ACCEPT To open a hole for VNCServer (running on display 20): iptables -I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=76&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The default CentOS 5.6 firewall configuration does not allow Apache httpd traffic on port 80.  In order to open the port for utilization, a change must be made to the firewall configuration.</p>
<blockquote><p>iptables -I INPUT -p tcp -m tcp ––dport 80 -j ACCEPT</p></blockquote>
<p>To open a hole for VNCServer (running on display 20):</p>
<blockquote><p>iptables -I INPUT -p tcp -m tcp ––dport 5920 -j ACCEPT</p></blockquote>
<p>To open a hole for VNCServer (running on display 20) web base interface:</p>
<blockquote><p>iptables -I INPUT -p tcp -m tcp ––dport 5820 -j ACCEPT</p></blockquote>
<p>To display the openings you&#8217;ve created in your firewall:</p>
<blockquote><p>iptables -L INPUT -n ––line-numbers</p></blockquote>
<p>To remove a line entry from your iptables file (for example, entry #3):</p>
<blockquote><p>iptables -D INPUT 3</p></blockquote>
<p>Notes:</p>
<p>There are two dashes in front of parameters such as &#8220;––line-numbers&#8221; and &#8220;––dport.&#8221;</p>
<p>The iptables service must be saved, and restarted before changes take effect.</p>
<blockquote><p>service iptables save</p>
<p>service iptables restart</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=76&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/28/add-an-entry-to-iptables-to-enable-apache-httpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>manually add new user to Red Hat/Fedora/CentOS</title>
		<link>http://itguykelly.wordpress.com/2011/04/19/manually-add-new-user-to-red-hatfedoracentos/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/19/manually-add-new-user-to-red-hatfedoracentos/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 16:11:12 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[how do I?]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=63</guid>
		<description><![CDATA[To manually add a new user to a  Red Hat/Fedora/CentOS intall which is utilizing shadow passwords: As root cp /etc/passwd /etc/passwd.bak (make a back-up copy of your password file) cp /etc/shadow /etc/shadow.bak (make a back-up copy of your shadow password file) cp /etc/group /etc/group.bak (make a back-up copy of your group file) vipw  (to open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=63&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To manually add a new user to a  Red Hat/Fedora/CentOS intall which is utilizing shadow passwords:</p>
<p>As root</p>
<blockquote>
<ul>
<li>cp /etc/passwd /etc/passwd.bak (make a back-up copy of your password file)</li>
<li>cp /etc/shadow /etc/shadow.bak (make a back-up copy of your shadow password file)</li>
<li>cp /etc/group /etc/group.bak (make a back-up copy of your group file)</li>
<li>vipw  (to open passwd file in vi)</li>
<li>&lt;shift&gt; g  (to get to end of file)</li>
<li>a (append at end of cursor)</li>
<li>user01:x:501:501:User 01:/home/user01:/bin/bash  (add the new user)</li>
<li>:wq  (write file and quit vi)</li>
<li>A prompt will indicate that you are using shadow passwords, and do you want to edit the /etc/shadow now.  Answer: n</li>
<li>vi /etc/group  (to open group file in vi)</li>
<li>&lt;shift&gt; g  (to get to end of file)</li>
<li>a (append at end of cursor)</li>
<li>user01:x:501:user01 &lt;enter&gt;</li>
<li>admins:x:502:user01 (create a new group called admins and put user01 into it)</li>
<li>:wq  (write file and quit vi)</li>
<li>pwconv  (add the new entry from your passwd file into shadow password file)</li>
<li>passwd user01  (set the new user password)</li>
<li>(prompted twice for new user password)</li>
<li>mkdir /home/user01</li>
<li>cp /etc/skel/.* /home/user01 (copy all files from skel to new user home directory)</li>
<li>cp -r /etc/skel/.kde /home/user01</li>
<li>cp -r /etc/skel/.mozilla /home/user01</li>
<li>chown -R user01:user01 /home/user01  (Change the owner of user01 home directory to user01)</li>
<li>visudo -f /etc/sudoers</li>
<li>After root   ALL=(ALL)    ALL add new line and:  %admins   ALL=(ALL)    NOPASSWD: ALL  (this allows members of admins group to sudo as root, without a password.)</li>
</ul>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=63&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/19/manually-add-new-user-to-red-hatfedoracentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Change run level on Red Hat/Fedora/CentOS</title>
		<link>http://itguykelly.wordpress.com/2011/04/19/change-run-level-on-red-hatfedoracentos/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/19/change-run-level-on-red-hatfedoracentos/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 15:26:36 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[how do I?]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=68</guid>
		<description><![CDATA[Change the default run level on Red Hat/Fedora/CentOS distros to boot into server/console mode rather than GUI (from runlevel 5 to runlevel 3). As root, edit /etc/inittab using vi or vim.  It should be somewhat self-explanatory, however make this change: # id:5:initdefault: id:3:initdefault:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=68&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Change the default run level on Red Hat/Fedora/CentOS distros to boot into server/console mode rather than GUI (from runlevel 5 to runlevel 3).</p>
<p>As root, edit /etc/inittab using vi or vim.  It should be somewhat self-explanatory, however make this change:</p>
<blockquote><p># id:5:initdefault:</p>
<p>id:3:initdefault:</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=68&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/19/change-run-level-on-red-hatfedoracentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>reset root password on Red Hat/Fedora/CentOS</title>
		<link>http://itguykelly.wordpress.com/2011/04/18/reset-root-password-on-red-hatfedoracentos/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/18/reset-root-password-on-red-hatfedoracentos/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 20:50:24 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=65</guid>
		<description><![CDATA[Okay, so you&#8217;ve screwed the pooch and need to reset the password for root on your Red Hat/Fedora/CentOS installation.  Assuming that it is a default installation, without hardening, this can be done fairly easily. This assumes you have GRUB installed. When the GRUB login screen comes up, hit &#8220;e&#8221; to edit. Move the cursor down [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=65&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Okay, so you&#8217;ve screwed the pooch and need to reset the password for root on your Red Hat/Fedora/CentOS installation.  Assuming that it is a default installation, without hardening, this can be done fairly easily.</p>
<p>This assumes you have GRUB installed.</p>
<blockquote>
<ol>
<li>When the GRUB login screen comes up, hit &#8220;e&#8221; to edit.</li>
<li>Move the cursor down to the kernel line and hit &#8220;e&#8221; again.</li>
<li>At the end of the kernel line, add a space and the word &#8220;single.&#8221;  This will force the reboot into single user mode.  Continue booting the server.  You will automagically be logged in as root.</li>
<li>Run the passwd command to reset root&#8217;s password.</li>
<li>Reboot as normal.</li>
</ol>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=65&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/18/reset-root-password-on-red-hatfedoracentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>enable windows manager in linux vncserver</title>
		<link>http://itguykelly.wordpress.com/2011/04/14/enable-windows-manager-in-linux-vncserver/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/14/enable-windows-manager-in-linux-vncserver/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 21:14:08 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[how do I?]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=60</guid>
		<description><![CDATA[Modify your ~/.vnc/xstartup file to The default file looks like this: #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc Uncomment the &#8220;unset SESSION MANAGER&#8221; and &#8220;exec /etc/X11/xinit/xinitrc&#8221; line.  This will start run your default window manager when vnc starts.  Gnome is a lot prettier than the cruddy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=60&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Modify your ~/.vnc/xstartup file to</p>
<p>The default file looks like this:</p>
<blockquote><p>#!/bin/sh</p>
<p># Uncomment the following two lines for normal desktop:<br />
# unset SESSION_MANAGER<br />
# exec /etc/X11/xinit/xinitrc</p></blockquote>
<p>Uncomment the &#8220;unset SESSION MANAGER&#8221; and &#8220;exec /etc/X11/xinit/xinitrc&#8221; line.  This will start run your default window manager when vnc starts.  Gnome is a lot prettier than the cruddy default gray vnc display with xterm.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=60&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/14/enable-windows-manager-in-linux-vncserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
		<item>
		<title>Edit sudoers file in Redhat/Fedora/CentOS</title>
		<link>http://itguykelly.wordpress.com/2011/04/13/edit-sudoers-file-in-redhatfedoracentos/</link>
		<comments>http://itguykelly.wordpress.com/2011/04/13/edit-sudoers-file-in-redhatfedoracentos/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 18:18:17 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[how do I?]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://itguykelly.wordpress.com/?p=57</guid>
		<description><![CDATA[To allow certain users to act as root (su -, or sudo), you must add them to the sudoers file (/etc/sudoers). The sudoers file must be edited using the visudo command.  See the sudo webpage. As root: visudo -f /etc/sudoers Edit the file to add the correct permissions.  In this case, give members of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=57&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To allow certain users to act as root (su -, or sudo), you must add them to the sudoers file (/etc/sudoers).</p>
<p>The sudoers file must be edited using the visudo command.  See the <a title="Sudo Main Page" href="http://www.sudo.ws/" target="_blank">sudo webpage</a>.</p>
<p>As root:</p>
<blockquote><p>visudo -f /etc/sudoers</p></blockquote>
<p>Edit the file to add the correct permissions.  In this case, give members of the group &#8220;adm&#8221; permission to do just about everything.</p>
<blockquote><p>%adm     ALL=(ALL)     NOPASSWD: ALL</p></blockquote>
<p>Save the changes using &#8220;:wq&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/itguykelly.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/itguykelly.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/itguykelly.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=itguykelly.wordpress.com&amp;blog=515518&amp;post=57&amp;subd=itguykelly&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://itguykelly.wordpress.com/2011/04/13/edit-sudoers-file-in-redhatfedoracentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b2e803ab42ff66f04767d4f1f86d3e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kskinney</media:title>
		</media:content>
	</item>
	</channel>
</rss>
