<?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>Bradleyland.net &#187; Linux</title>
	<atom:link href="http://bradleyland.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradleyland.net</link>
	<description>tech that doesn't suck</description>
	<lastBuildDate>Fri, 18 Jun 2010 22:16:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Nagios kills group/user associations required by Webmin/Virtualmin</title>
		<link>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/</link>
		<comments>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 01:46:45 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[holycrapitstoppedworking]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=42</guid>
		<description><![CDATA[So here we go again! I am looking around for a new monitoring setup. I install Nagios to take a look at it on my CC box. My CC box is currently running several sites through Webmin/Virtualmin. When I installed &#8230; <a href="http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So here we go again! I am looking around for a new monitoring setup. I install Nagios to take a look at it on my CC box. My CC box is currently running several sites through Webmin/Virtualmin. When I installed Nagios, I noticed that all of my sites stopped working with the exception of Webmin itself and Nagios.</p>
<p>The errors associated with this issue are a standard 403 on the client side. On the server side you get &#8220;pcfg_openfile: unable to check htaccess file, ensure it is readable&#8221;.</p>
<p>In my quest to fix the issue, I double checked permissions to ensure that they were correct. They were. I double checked that the apache group existed and was working correctly. It was. I searched high and low for a fix for this issue. I even wrote a support request to the people over at Nagios right before I uninstalled it out of anger and spite (which didn&#8217;t fix the issue either BTW). Sadly, about 10 minutes after hitting the send button, I had a thought.</p>
<p>The way that Virtualmin works is to include the apache user in the groups it creates for hosting accounts. It appears that Nagios removed the apache user from all groups except for the one that it created. Good times huh?</p>
<p>The easy way to fix it on a small box is to add the apache user back to the groups for your hosting users. If you have a larger box, go ahead and script it. After you are done getting apache added back to your hosted groups, go ahead and restart Apache and all should be good in the world again.</p>
<p>Oh yeah. A message to the good folks over at Nagios. You have known about this issue for quite some time due to the multitude of Plesk, CPanel and Virtualmin users that have asked about it or related issues. Why don&#8217;t you go ahead and fix it? You lost a potential paying customer today because this simple issue has not been resolved.</p>
<p>All done. Ciao all.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling Sudo on Fedora 10</title>
		<link>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/</link>
		<comments>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:03:12 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=31</guid>
		<description><![CDATA[Since I posted my 64 bit flash tutorial, I have been getting a lot of questions on how to enable a user to sudo on Fedora 10. For those of you that wanted it, here you go! Oh yeah, next &#8230; <a href="http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since I posted my <a title="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/" href="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/" target="_self">64 bit flash tutorial</a>, I have been getting a lot of questions on how to enable a user to sudo on Fedora 10. For those of you that wanted it, here you go! Oh yeah, next time, RTFM. *grin*</p>
<blockquote><p>Note that I am doing all of this from the command line. If you care to survive the Linux world, you should at least have a vague idea of how to use the command line. A terminal from within X will work fine as well for these steps.</p>
<p>Also note that this will work with MOST distros out there. I have yet to see a problem with any that I have tried, but I mostly work in the RPM world, so my exposure to other distros is somewhat limited.</p></blockquote>
<p>Get logged in and open a terminal window if your system starts X automatically. If you need a tutorial on how to do that, google will be your friend for a while. Before we actually edit anything, we will be finding out what groups your user belongs to you will be looking for a couple of them that are quite important. &#8220;wheel&#8221; and whatever group mirrors your username.</p>
<blockquote><p>[dude@computer ~]$ groups<br />
dude wheel pulse-access pulse-rt pulse<br />
[dude@computer ~]$</p></blockquote>
<p>Once you are logged in and know what groups you belong to, you will edit &#8220;<em>/etc/sudoers</em>&#8220;. This will require you to be root to do this. (Type in &#8220;su&#8221; at the command prompt and enter the root password for the system when you are prompted.) Once you are root, enter the following command.</p>
<blockquote><p>vim /etc/sudoers</p></blockquote>
<p>Here is where those groups come in handy. If you had <em>wheel</em> listed, we simply have to uncomment a line. If not, we have to create a new line that includes your users&#8217; group. It will make sense in a minute.</p>
<p>Lets start with the less likely situation that <em>wheel</em> was part of your groups list by default. You have two lines that you are looking for within sudoers.</p>
<blockquote><p># Uncomment to allow people in group wheel to run all commands<br />
# %wheel  ALL=(ALL)       ALL</p>
<p># Same thing without a password<br />
# %wheel        ALL=(ALL)       NOPASSWD: ALL</p></blockquote>
<p>It is quite simple at this point. If you would like to require that the sudo enabled users put their password in every time they run a command with sudo, uncomment the &#8220;<em># %wheel  ALL=(ALL)       ALL</em>&#8221; line by removing the # at the start of the line. If you don&#8217;t wish to require a password for every use of sudo, do the same with the &#8220;<em># %wheel        ALL=(ALL)       NOPASSWD: ALL</em>&#8221; line.</p>
<p>Now, what if you are like 99.9% of the fresh installs out there? What if you are not part of the wheel group, or have a situation where you only want your user to have sudo access? This is also very simple. Simply change &#8220;wheel&#8221; on whichever line you prefer to your group name and uncomment as before.</p>
<p>Done!</p>
<p>If you have issues using VI, there are a multitude of VI tutorials on the net. If you would rather use EMACS or nano or something, feel free. It should all work the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The XP install from hell&#8230;</title>
		<link>http://bradleyland.net/2009/01/the-xp-install-from-hell/</link>
		<comments>http://bradleyland.net/2009/01/the-xp-install-from-hell/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 00:47:40 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[gparted]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=14</guid>
		<description><![CDATA[Ok, so it wasn&#8217;t THAT bad. Lets get into some backstory&#8230; My mother wanted to get a scanner so that she could make all of her pictures into ones and zeroes. I started looking around for something that would work &#8230; <a href="http://bradleyland.net/2009/01/the-xp-install-from-hell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, so it wasn&#8217;t THAT bad. Lets get into some backstory&#8230;</p>
<p>My mother wanted to get a scanner so that she could make all of her pictures into ones and zeroes. I started looking around for something that would work for her needs and couldn&#8217;t find anything that would work with SANE. Go figure.</p>
<blockquote><p>Ok, sidenote. Seriously. If CUPS can give support to damn near anything that prints since probably the 1950&#8242;s, why can&#8217;t SANE do something at least somewhere near that?!</p></blockquote>
<p>I decided that since there wasn&#8217;t any simple way, short of writing a driver for the new scanner *cough*, that I could make this work with Fedora 10 in the timeframe I was working with.</p>
<p>So I get the new XP license in the mail today. I double check that the backups are done on her system. I put the CD in and reboot. I get the almighty Black Screen of Insanity +5. As you can imagine, I am getting a little bit pissed by now. I reboot real quick and jump into the BIOS to make sure that there isn&#8217;t anything odd looking in there. Nothing odd. Reboot and try to install again. No go again.</p>
<p>In the past, I had the same problem with a system that previously had Fedora Core 4 on it. Microsoft seems to want to make us jump through hoops if we are forced to go back to their stupid OS for any reason.</p>
<p>Come to find out, this is a partitioning issue. I guess that Microsoft doesn&#8217;t know how to read a partition table if it was written by another OS. Somehow, my jaded nature just doubled.</p>
<p>The solution was to rewrite the partition table with GParted. I downloaded the ISO from the <a title="http://gparted.sourceforge.net/" href="http://gparted.sourceforge.net/" target="_blank">GParted website</a> and burned it using another system. After inserting the CD and booting from it, I was able to completely erase the partition table. A quick reboot from there, and Windows XP decided that it wanted to start working.</p>
<p>The moral of this story is very simple. Microsoft has been trying to find ways to keep ahead of Apple and the Linux community for years. They have done some good things and a load of bad things. The problem is, they have continued to write shoddy software. Their market share is slowly seeping over to the *NIX side of things, and they still fail.</p>
<p>Windows 7 may be able to turn this trend around, but what I have seen suggests that they are simply stealing ideas from the Linux community to rewrite and impliment in their own OS. Eventually, I believe this will catch up with them.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/01/the-xp-install-from-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Native 64 bit Flash on Fedora 10</title>
		<link>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/</link>
		<comments>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 08:51:40 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=12</guid>
		<description><![CDATA[I just read an article at http://spoilt.blogsite.org/ that went over how to install 32 bit Flash on both 32 bit and 64 bit versions of Fedora 10. It however didn&#8217;t mention the new 64 bit beta of Flash that Adobe &#8230; <a href="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just read an article at <a title="http://spoilt.blogsite.org/wordpress/index.php/2008/10/15/how-to-install-flash-10-on-fedora-9" href="http://spoilt.blogsite.org/wordpress/index.php/2008/10/15/how-to-install-flash-10-on-fedora-9" target="_blank">http://spoilt.blogsite.org/</a> that went over how to install 32 bit Flash on both 32 bit and 64 bit versions of Fedora 10. It however didn&#8217;t mention the new 64 bit beta of Flash that Adobe is testing.</p>
<blockquote><p>If you are already running 32 bit Flash in 64 bit Firefox, make sure you remove that before you install the 64 bit version of Flash. This goes for both the system-wide install or the single user installs.</p></blockquote>
<p>If you head to the <a title="64 Bit Flash in Linux" href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" target="_blank">Adobe Labs site</a>, you can snag the .tar.gz file that includes the flash plugin.</p>
<p>To uncompress the bugger:</p>
<p><em>tar -zxvf libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz<br />
</em></p>
<p>After that completes, you should have libflashplayer.so in the same directory as the .tar.gz file. This is where you need to choose how you would like to do the install. You can install this for your user only, or install it system-wide. If you would like to install system-wide, you will do the following:</p>
<p>Change the user and group associations for the file to root.</p>
<p><em>sudo chown root:root libflashplayer.so</em></p>
<p>Then change the permissions if need be to 755. (This may already be the default, but you should still check to be safe&#8230;)</p>
<p><em>sudo chmod 755 libflashplayer.so</em></p>
<p>Time to move the file to the worldwide plugins directory&#8230;</p>
<p><em>sudo cp libflashplayer.so /usr/lib64/mozilla/plugins</em></p>
<p>This should do it. You should be able to restart Firefox and start seeing flash in all of its native 64 bit glory!</p>
<p>As for those of you that might not have permissions to do a system-wide install, you can do the following.</p>
<p><em>cp libflashplayer.so ~/.mozilla/plugins</em></p>
<p>You don&#8217;t need to do any of those other steps besides decompressing the file and restarting Firefox.</p>
<p>I certainly hope this helps everyone out there dealing with the BS of having to get 32 bit Flash working on 64 bit Fedora. This should also work for just about any other distro out there. The locations might be changed, but everything is pretty much the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
