<?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>John Ciacia &#187; linux</title>
	<atom:link href="http://www.johnciacia.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnciacia.com</link>
	<description>Science, Technology, and Beyond</description>
	<lastBuildDate>Fri, 04 Jun 2010 02:44:29 +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>Authenticate to Active Directory with Ubuntu</title>
		<link>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/</link>
		<comments>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 17:48:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=208</guid>
		<description><![CDATA[While Linux is a fantastic operating system, when it comes to user rights management, Active Directory is far superior than anything Linux currently implements. As a result many businesses and organizations implement the technology. For a longtime it was extremely difficult to get a Linux operating system to authenticate with active directory &#8211; configuring multiple [...]]]></description>
			<content:encoded><![CDATA[<p>While Linux is a fantastic operating system, when it comes to user rights management, Active Directory is far superior than anything Linux currently implements. As a result many businesses and organizations implement the technology. For a longtime it was extremely difficult to get a Linux operating system to authenticate with active directory &#8211; configuring multiple services and managing to get them to work with each other, let alone work with Windows was a task best left for those with years of Linux administration experience. However, in recent years as Linux has become more user friendly, and it should be no surprise that authenticating with active directory has become easy too. In the past few days I have been working with an opensource software called <a href="http://www.likewise.com/">likewise-open</a> which is in the official Ubuntu repositories. Below is a quick guide to getting started and some tips/issues I have found.</p>
<p><strong>Authenticating with likewise-open 4.1 (from Ubuntu 8.04 repository)</strong></p>
<p>1. Install likewise-open<br />
# sudo apt-get install likewise-open</p>
<p>2. Join the domain<br />
# sudo domainjoin-cli join your.fqdn domain_admin<br />
For example:<br />
# sudo domainjoin-cli join example.com Administrator</p>
<p>REBOOT</p>
<p>3. Update rc.d<br />
# sudo update-rc.d likewise-open defaults</p>
<p>4. Start likewise-open<br />
# sudo /etc/init.d/likewise-open start</p>
<p><strong>Using the default domain with likewise-open 4.1</strong><br />
To use the default domain (and avoid using DOMAIN\user to login) append the following line to /etc/samba/lwiauthd.conf<br />
winbind use default domain = yes<br />
==============================================================</p>
<p><strong>Authenticating with likewise-open 5.1 (from Ubuntu 9.04 repository)</strong></p>
<p>1. Install likewise-open5<br />
# sudo apt-get install likewise-open5</p>
<p>2. Join the domain<br />
# sudo domainjoin-cli join your.fqdn domain_admin<br />
For example:<br />
# sudo domainjoin-cli join example.com Administrator</p>
<p>REBOOT</p>
<p>3. Update rc.d<br />
# sudo update-rc.d likewise-open defaults</p>
<p>4. Start likewise-open<br />
# sudo /etc/init.d/lsassd start</p>
<p><strong>Using the default domain with likewise-open 5.1</strong><br />
To use the default domain (and avoid using DOMAIN\user to login) uncomment the following line in /etc/likewise-open5/lsassd.conf<br />
assume-default-domain = yes<br />
==============================================================</p>
<p><strong>Giving domain administrators sudo privileges</strong><br />
Append the following line to /etc/sudoers<br />
%your.fdqn\\domain^admins ALL=(ALL) ALL</p>
<p>==============================================================<br />
<strong>Known issues</strong><br />
1. After rebooting the computer and logging in you are given the error &#8220;Domain Controller unreachable, using cached credentials instead. Network resource may be unavailable.&#8221; Likewise does not start correctly. You have to login as a local admin and run the following command and then users will be able to login.<br />
# sudo /etc/init.d/likewise-open restart<br />
Issue seems to be resolved with likewise-open5</p>
<p>2. If you are having issues authenticating wirelessly, make sure your wireless connection is established. In many instances, wireless will only connect AFTER you login.</p>
<p>3. Samba does not hide hidden windows shares</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up a LAMP server with Ubuntu</title>
		<link>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/</link>
		<comments>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 03:03:16 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=199</guid>
		<description><![CDATA[Ubuntu, known for its ease of use, makes no exception for setting up an apache, mysql, and php stack. Since the release of Feisty Fawn, Ubuntu has come packed with tasksel &#8211; a user interface for installing tasks. 1. At your command prompt, run tasksel as root. john@earth:~$ sudo tasksel 2. Select LAMP server 3. [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu, known for its ease of use, makes no exception for setting up an apache, mysql, and php stack. Since the release of Feisty Fawn, Ubuntu has come packed with <strong>tasksel</strong> &#8211; a user interface for installing tasks. </p>
<p>1. At your command prompt, run tasksel as root.</p>
<blockquote><p>john@earth:~$ sudo tasksel</p></blockquote>
<p>2. Select LAMP server<br />
<a href="http://www.johnciacia.com/wp-content/uploads/2009/07/1.png"><img src="http://www.johnciacia.com/wp-content/uploads/2009/07/1-300x198.png" alt="1" title="1" width="300" height="198" class="aligncenter size-medium wp-image-200" /></a></p>
<p>3. Continue the installation by following the prompts.</p>
<p>It works!<br />
<a href="http://www.johnciacia.com/wp-content/uploads/2009/07/4.png"><img src="http://www.johnciacia.com/wp-content/uploads/2009/07/4-300x206.png" alt="4" title="4" width="300" height="206" class="aligncenter size-medium wp-image-201" /></a></p>
<p>One tool I have difficulty living without is phpMyAdmin. From the command prompt type<br />
<blockquote>sudo apt-get install phpmyadmin</p></blockquote>
<p> Continue the installation by following the prompts. If you are using a version of Ubuntu older than 9.04 (Jaunty) you will need to add the following line to /etc/apache2/apache2.conf Continue the installation by following the prompts. Version 9.04 does this automatically. You will be able to access phpMyAdmin by browsing directly to http://<hostname>/phpmyadmin </p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backspace in VI with PuTTY</title>
		<link>http://www.johnciacia.com/2009/03/12/backspace-in-vi-with-putty/</link>
		<comments>http://www.johnciacia.com/2009/03/12/backspace-in-vi-with-putty/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 03:06:29 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=18</guid>
		<description><![CDATA[Recently my Linux install has been giving my issues, and rather taking the time (which I don&#8217;t have) to fix it, I fell back onto my Windows Vista installation to get my by while I finish the project I am working on. Since I do not have my wonderful terminal to manage my ssh connections, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently my Linux install has been giving my issues, and rather taking the time (which I don&#8217;t have) to fix it, I fell back onto my Windows Vista installation to get my by while I finish the project I am working on. Since I do not have my wonderful terminal to manage my ssh connections, I have had to use <a href="http://putty.totalpenguin.com">PuTTY</a>. Unfortunately PuTTY and VI were not communicating properly. Whenever I pressed backspace, it would send ^? and echo it as text rather than sending ^H which will backspace a character.<span id="more-18"></span> This drove me nuts. After looking through PuTTY&#8217;s settings the fix was rather simple. In the PuTTY configuration select the keyboard tab and change <em>The Backspace Key</em> from Control+? to Control-H.</p>
<p><img class="alignnone size-full wp-image-21" title="putty" src="http://www.johnciacia.com/wp-content/uploads/2009/03/putty.jpg" alt="putty" width="456" height="436" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/03/12/backspace-in-vi-with-putty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
