<?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>Carl the Gee-Whiz Wonder Boy&#039;s Blog</title>
	<atom:link href="http://blog.uncommonguy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.uncommonguy.com</link>
	<description>Home of the Boogie-Woogie Feng Shui</description>
	<lastBuildDate>Sun, 15 Apr 2012 03:56:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Solving Common Oracle Problems</title>
		<link>http://blog.uncommonguy.com/2012/03/solving-common-oracle-problems/</link>
		<comments>http://blog.uncommonguy.com/2012/03/solving-common-oracle-problems/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 18:14:09 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1456</guid>
		<description><![CDATA[I see two common problems with small Oracle installs: expired passwords and excessive Oracle logging. This happens because in small installs (lab, developer, and demo servers) a DBA might not be involved. Here is how to fix two issues that can affect small systems not configured by a  [...]]]></description>
			<content:encoded><![CDATA[<p>I see two common problems with small Oracle installs: expired passwords and excessive Oracle logging. This happens because in small installs (lab, developer, and demo servers) a DBA might not be involved. Here is how to fix two issues that can affect small systems not configured by a DBA.</p>
<p><span id="more-1456"></span></p>
<hr />
<p>DISCLAIMER: Don't mess with the Oracle sysdba and system users on a production system unless you really know what you're doing. This kind of ad-hoc "try-and-see" stuff is for small installs that aren't very important. I'm no DBA and I can't help you be one; I'm just an engineer trying to get stuff working.</p>
<p>If you have a real DBA available, talk to him or her and have them teach you. Notice <strong>teach</strong> you. Don't let them just fix it, get them to walk you through it so you learn it and can document it for your team.</p>
<hr />
<p> </p>
<h3>1) Oracle user password expired</h3>
<p>By default, Oracle users expire after a few months, either 3 or 6. So this bites a lot of lab installs that stop working suddenly. To fix this, you need to login as a higher-level user, either system or sysdba.</p>
<p>Note: You can re-set the same password already being used (the one that expired). Oracle doesn't care.</p>
<pre>$ sqlplus system

SQL&gt; alter user MyAppUsername identified by MyAppPassword;
user altered;</pre>
<p>Now, change password lifetime to unlimited so this never happens again: (capitalization not important)</p>
<pre>SQL&gt; ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

profile altered;</pre>
<p>Done!</p>
<p>If you cannot log in as the system user because you forgot that password, you can change it by logging in as sysdba user:</p>
<pre>$ sqlplus / as sysdba

SQL&gt; alter user system identified by PreferredSystemUserPassword;

user altered;</pre>
<p> </p>
<p><strong>Final step: document all your usernames and passwords!</strong></p>
<p> </p>
<h3>2. Disable detailed auditing</h3>
<p>Oracle logs a lot of audit trail information. The information is dumped to a directory called 'adump' on the filesystem. The audit information has some performance cost. Worse, it can generate enough files that it breaks commands like 'ls' when you try to list them. I've seen a lab server with 28,000 audit log files. Running 'ls' and even 'rm *' failed. I had to use find or some other tool that was able to handle it without crashing.</p>
<p> </p>
<p>Anyway, disabling the detailed audit logging is really easy. Again, log in as system or sysdba user:</p>
<pre>$ sqlplus &#039;/ as sysdba&#039;

SQL&gt; noaudit all;
SQL&gt; noaudit all privileges;
SQL&gt; noaudit exempt access policy;
SQL&gt; exit;</pre>
<p> </p>
<p>If the system has been running for a while, find the 'adump' directory for your DB and delete the files in there.</p>
<pre>$ cd /u01/app/oracle/admin/mydb/adump
$ rm *.aud</pre>
<p> </p>
<p>Setup a cron job to keep this directory clean in the future:</p>
<pre>######### Clean up Audit logs

10 01 * * * /usr/bin/find /u01/app/oracle/admin/mydb/adump/*.aud -mtime +30 -exec rm -f {} \; &gt; /dev/null 2&gt;&amp;1</pre>
<p> </p>
<p>That's it! Now you can easily fix expired Oracle passwords and disable unnecessary logging to keep your server in tip-top shape. Also, remember I am not responsible if you use these incorrectly or do something monumentally stupid.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/03/solving-common-oracle-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow WordPress on Webfaction — Solved!</title>
		<link>http://blog.uncommonguy.com/2012/03/slow-wordpress-on-webfaction-solved/</link>
		<comments>http://blog.uncommonguy.com/2012/03/slow-wordpress-on-webfaction-solved/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 03:38:54 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1451</guid>
		<description><![CDATA[http://community.webfaction.com/questions/8047/wordpress-slow-plugin-updates-timing-out
In less than 5 minutes a member of the Webfaction support community identified the fix for my tremendously slow WordPress sites. The Dashboard was barely working and the site pages were very slow. The solution  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://community.webfaction.com/questions/8047/wordpress-slow-plugin-updates-timing-out">http://community.webfaction.com/questions/8047/wordpress-slow-plugin-updates-timing-out</a></p>
<p>In less than 5 minutes a member of the Webfaction support community identified the fix for my tremendously slow WordPress sites. The Dashboard was barely working and the site pages were very slow. The solution was 2 steps to tell WordPress to use a different PHP version. Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/03/slow-wordpress-on-webfaction-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joining the Software Pedigree Review Board at Motorola</title>
		<link>http://blog.uncommonguy.com/2012/02/software-pedigree-board/</link>
		<comments>http://blog.uncommonguy.com/2012/02/software-pedigree-board/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 03:41:17 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1448</guid>
		<description><![CDATA[Some good news from work today — I am officially joining the Software Pedigree Review Board at Motorola. It is an internal working group that reviews open source software licensing, defines best practices and processes for teams wanting to use open source, and other types of intellectual property  [...]]]></description>
			<content:encoded><![CDATA[<p>Some good news from work today — I am officially joining the Software Pedigree Review Board at Motorola. It is an internal working group that reviews open source software licensing, defines best practices and processes for teams wanting to use open source, and other types of intellectual property reviews. It is somewhat prestigious internally. I don't know much of the details yet, but there is a meeting about it tomorrow to familiarize new members.</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/software-pedigree-board/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.uncommonguy.com/2012/02/two-ways-better/</link>
		<comments>http://blog.uncommonguy.com/2012/02/two-ways-better/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 17:24:23 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1445</guid>
		<description><![CDATA[This advice might be enough to get me working on some of my personal projects again. Sometimes the amount to do seems so huge it is hard to even start.
from: https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e
Deciding to make your product better in two  [...]]]></description>
			<content:encoded><![CDATA[<p>This advice might be enough to get me working on some of my personal projects again. Sometimes the amount to do seems so huge it is hard to even start.</p>
<p>from: <a href="https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e">https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e</a></p>
<blockquote><p>Deciding to make your product better in two ways every day is a good mental exercise to keep those large projects moving forward. In a working week, you’ll have ten better things to say about your product than you do now. In a working month, you’ll have forty better things to say about your product than you do now.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/two-ways-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travelling</title>
		<link>http://blog.uncommonguy.com/2012/02/travelling/</link>
		<comments>http://blog.uncommonguy.com/2012/02/travelling/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 04:55:33 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1443</guid>
		<description><![CDATA[Looks like I will be on the road the next few weeks. I just got back Brazil (ah, lovely warmth) and was sent to Dallas for a semi-emergency. I might be here the next 3 weeks, then a week in southern France. Then possibly back to Dallas or up to Montreal.
 
The travelling has moments of fun, but  [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I will be on the road the next few weeks. I just got back Brazil (ah, lovely warmth) and was sent to Dallas for a semi-emergency. I might be here the next 3 weeks, then a week in southern France. Then possibly back to Dallas or up to Montreal.</p>
<p> </p>
<p>The travelling has moments of fun, but mostly it's hard work, dangerous food (it's tough to stay gluten free, especially abroad), and poor sleep.</p>
<p> </p>
<p>Note to self: buy a few more nice dress shirts and slacks. My closet is pathetic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/travelling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A sea of wonderful pink stuff</title>
		<link>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/</link>
		<comments>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 02:52:21 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Homestead]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[home improvement]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1424</guid>
		<description><![CDATA[I've been working really hard getting ready to insulate our attic. The insulation was minimal, barely up to the top of the joists in most cases, so 6–8 inches in most places. This was awful. Last year we had Home Depot come out and give an estimate for insulation work and they big $2000 which was a  [...]]]></description>
			<content:encoded><![CDATA[<p>I've been working really hard getting ready to insulate our attic. The insulation was minimal, barely up to the top of the joists in most cases, so 6–8 inches in most places. This was awful. Last year we had Home Depot come out and give an estimate for insulation work and they big $2000 which was a let-down as we didn't have the cash at that time.</p>
<p>We finally had the extra money to try again this year so got an estimate from a company my father-in-law recommended, <a title="Williams Insulation" href="http://www.mascocs.com/">Williams Insulation</a>. Estimate: $425. Yeah, 25% the amount of Home Depot's contractor. The estimator also did a walk-through energy audit and suggested some really useful things.</p>
<p>The estimator actually found a whole section of attic we had never known about. He realized there was a gap along two whole sides of the house and suggested we cut a hatch to check it out. He turned out to be right — we found a space 40'x5' with even less insulation than the other main attic area. This was along the whole front and kitchen sides of the house.</p>
<p>I reported my findings and he came back for a free re-estimate. Amazingly, this added only $100 to the estimate, bringing it to $525. Frankly, we would have paid twice that and been happy about it. Five hundred bucks is a no-brainer!</p>
<p>The main prep work was to implement his main suggestion. He told us to tape up all gaps in the metal casings of can lights and ventilation fans, and encase them in styrofoam to fully air-seal them. He suggested the $2 styrofoam coolers from Wal-mart, which turned out to be the perfect shape and size for most of them. We had one larger fixture — the heat lamp in our shower — on which I used a larger, better cooler meant for shipping frozen goods.</p>
<p>I spent many hours up there the past few weeks, but particularly the past weekend. I spent half of Saturday and almost all of Sunday skittering around in the tiniest corners sealing everything. It had to be done carefully and correctly to make it permanent, at least until the fixture itself fails. I wanted to never have to crawl through all the new insulation to reach and work on this stuff.</p>
<p>Overall I sealed up 4 can lights above the kitchen, the rest being below the floor of the little playroom. In the main attic I replaced the non-working bathroom fan with a new one and sealed it up, and sealed up the other one that I replaced last year. I also ran ducting from the fans to exhaust outlets in the roof. There was one regular can light to enclose, then one huge heat lamp to enclose. All of those took a lot of work because of the cramped space. Much of it I had to work one-handed, holding myself on a joist with the other hand. It was brutal.</p>
<p>Monday night I worked from 9pm to 3am finishing up the various bits, including sealing up the huge hallway fan. It was quite a trial after a full day of work, boy scouts, and hanging out with Asa (my Little from BBBS). I was a mess of insulation, sweat, Great Stuff expanding foam, and grime.</p>
<p>The big payoff was Tuesday morning when the insulators came. In just an hour they crawled to all the dark corners of the attic and blew in insulation to the 20" mark. This gives an insulation of R-60, which is higher than even the latest standards for this part of the country. The work was fast, efficient, and looks great — a uniform sea of pink energy and money-saving fluff.</p>
<p>We've noticed our furnace running much less and the house feels warmer, particularly the upstairs office. We are super happy about the project. In fact, it's kind of embarrassing how exciting the insulation is to us. The insulation plus the work involved in prepping for it was really rewarding and feels like the best improvement we've done to the house since we replaced the doors. And the energy-saving aspect makes us feel generally good about ourselves and our house.</p>

<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0275/' title='Main work'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0275-150x150.jpg" class="attachment-thumbnail" alt="Main work" title="Main work" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0276/' title='Pipe &amp; Heat Lamp'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0276-150x150.jpg" class="attachment-thumbnail" alt="Re-routed air pipes and the heat lamp fully enclosed in styrofoam box." title="Pipe &amp; Heat Lamp" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0277/' title='Full work area'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0277-150x150.jpg" class="attachment-thumbnail" alt="Full work area" title="Full work area" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0279/' title='Kitchen can lights'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0279-150x150.jpg" class="attachment-thumbnail" alt="Can lights from the kitchen encased in cheap styrofoam coolers" title="Kitchen can lights" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0281/' title='above-kitchen insulation'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0281-150x150.jpg" class="attachment-thumbnail" alt="above-kitchen insulation" title="above-kitchen insulation" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0282/' title='Attic insulation spread'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0282-150x150.jpg" class="attachment-thumbnail" alt="Attic insulation spread" title="Attic insulation spread" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0283/' title='A sea of wonderful pink stuff'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0283-150x150.jpg" class="attachment-thumbnail" alt="Heat lamp, bath fans, and lights all fully covered with insulation. Can&#039;t beat that!" title="A sea of wonderful pink stuff" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas list</title>
		<link>http://blog.uncommonguy.com/2011/12/christmas-list/</link>
		<comments>http://blog.uncommonguy.com/2011/12/christmas-list/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 18:15:55 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1417</guid>
		<description><![CDATA[I want the entry-level Nook e-reader, but the shape is awful — it's practically square and would never fit in a pocket. It's just like the Xoom tablet — great hardware wedged into poor design. Just not sure what to do here. I'm not certain I will get enough use out of this either.
Really good long  [...]]]></description>
			<content:encoded><![CDATA[<p>I want the entry-level Nook e-reader, but the shape is awful — it's practically square and would never fit in a pocket. It's just like the Xoom tablet — great hardware wedged into poor design. Just not sure what to do here. I'm not certain I will get enough use out of this either.</p>
<p>Really good long underwear for cold-weather camping and outdoor chores.</p>
<p>"Rayman Origins" game for Wii</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/12/christmas-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Midweek Mania, in a good way</title>
		<link>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/</link>
		<comments>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:58:59 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Everyday]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1384</guid>
		<description><![CDATA[I've been practically manic the last 2 days. So many things to be happy about. Work has returned to a happy normality from the insane crush of the last 3 weeks. I kicked ass during an onsite visit and saved a feature trial at a customer. My boss's boss sent me a really touching email thanking me  [...]]]></description>
			<content:encoded><![CDATA[<p>I've been practically manic the last 2 days. So many things to be happy about. Work has returned to a happy normality from the insane crush of the last 3 weeks. I kicked ass during an onsite visit and saved a feature trial at a customer. My boss's boss sent me a really touching email thanking me for all the great work I am doing. Rachel got an exciting new job. I am making real progress rebuilding and reorganizing the garage. My Mom's back surgery was a success. The dogs are healthy. The weather is good.</p>
<p>Life is just great.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cgrep — a grep enhancement to show preceding lines</title>
		<link>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/</link>
		<comments>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 18:45:17 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1257</guid>
		<description><![CDATA[Solaris grep has no way to printing the lines surrounding a match. Yet my most common use of grep is to locate particular strings in a log file, with the goal of looking at the log messages previous to them. There is a simple solution for this. And also, please note, I did not write any of the code  [...]]]></description>
			<content:encoded><![CDATA[<p>Solaris grep has no way to printing the lines surrounding a match. Yet my most common use of grep is to locate particular strings in a log file, with the goal of looking at the log messages previous to them. There is a simple solution for this. And also, please note, I did not write any of the code linked here. Just posting it to help others find it.</p>
<p><span id="more-1257"></span></p>
<p>cgrep shell script: <a href="http://examples.oreilly.com/upt2/split/cgrep.sed">http://examples.oreilly.com/upt2/split/cgrep.sed</a></p>
<p> </p>
<pre>#!/bin/sh
#  cgrep - context grep via sed
#  Written by Greg Ubben, DoD, 10 Dec 1993
#
#  Cgrep finds all occurrences of &lt;pattern&gt; in &lt;file...&gt;, showing &lt;context&gt;
#  additional lines of context above and below each occurrence.  &lt;context&gt;
#  must be at least 1, and defaults to 2.  Each new block of context is
#  preceded by the line number of the first occurrence within that block.
#  &lt;pattern&gt; must be a grep-style regular expression, except that you can
#  match across lines, so use "\nWORD" vs "^WORD" and "WORD\n" vs "WORD$".
#
#  The following example will find all occurrences of the word "five" where
#  it is followed by the word "seven" somewhere within the next 3 lines:
#	cgrep -3 "five.*seven"

USAGE="$0 [-context] pattern [file...]"

n=3
case $1 in -[1-9]*)
	n=`expr 1 - "$1"`
	shift
esac
re=${1?}; shift

sed -n "
	1b start
	: top
	\~$re~{
		h; n; p; H; g
		b endif
	}
		N
		: start
		//{ =; p; }
	: endif
	$n,\$D
	b top
" "$@"</pre>
<p> </p>
<p> </p>
<p>This is extra useful for production systems where you can't install packages or make changes to /bin. Just copy the script into your home directory, then either edit your PATH to include your home directory, or reference this directly.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install sudo on Solaris 10 (intel, x86)</title>
		<link>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/</link>
		<comments>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 19:16:07 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1254</guid>
		<description><![CDATA[Instructions on installing and configuring sudo on Solaris 10. It is really easy.

Download sudo package from sunfreeware.com
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.8.1p2-sol10-x86-local.gz
copy sudo-1.8.1p2-sol10-x86-local.gz to server
scp sudo-1.8.1p2-sol10-x86-local.gz  [...]]]></description>
			<content:encoded><![CDATA[<p>Instructions on installing and configuring sudo on Solaris 10. It is really easy.<br />
<span id="more-1254"></span><br />
Download sudo package from <a href="http://sunfreeware.com">sunfreeware.com</a></p>
<pre>wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.8.1p2-sol10-x86-local.gz</pre>
<p>copy sudo-1.8.1p2-sol10-x86-local.gz to server</p>
<pre>scp sudo-1.8.1p2-sol10-x86-local.gz user@server:/tmp/</pre>
<p>ssh to server</p>
<p>su — to root</p>
<pre>cd /tmp
gunzip sudo-1.8.1p2-sol10-x86-local.gz
pkgadd -d sudo-1.8.1p2-sol10-x86-local
	answer 'all' and 'y' to the install questions
ln -s /usr/local/etc/sudoers /etc/sudoers
ln -s /usr/local/bin/sudo /bin/sudo
ln -s /usr/local/bin/sudoedit /bin/sudoedit</pre>
<p>Finally, edit /etc/sudoers to add any users or groups to sudo privileges. The root user is already in there. Just add your own username below. There are more maintainable ways to control sudo rights, like a wheel group, but that is well documented elsewhere.</p>
<pre>##
## User privilege specification
##
root ALL=(ALL) ALL
jsmith  ALL=(ALL) ALL</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.557 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-04-30 09:46:05 -->
<!-- Compression = gzip -->
