<?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>J Squared Consulting &#187; User Administration</title>
	<atom:link href="http://jsquaredconsulting.com/blog/category/user-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsquaredconsulting.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 29 Nov 2010 13:00:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Using Screen to share your terminal.</title>
		<link>http://jsquaredconsulting.com/blog/2010/08/using-screen-to-share-your-terminal/</link>
		<comments>http://jsquaredconsulting.com/blog/2010/08/using-screen-to-share-your-terminal/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:46:12 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[User Administration]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[pair programing]]></category>
		<category><![CDATA[remote debugging]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[screen sharing]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal sharing]]></category>

		<guid isPermaLink="false">http://jsquaredconsulting.com/blog/?p=88</guid>
		<description><![CDATA[As a consultant who works with remote clients and, before that, a telecommuting systems engineer for companies who used linux I have often encountered the problem of collaborating inside of a remote client that does not have X and who&#8217;s only access is ssh. Servers with GUI interfaces like Windows or Mac OS X have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Tux" src="http://jsquaredconsulting.com/images/linux.png" alt="" width="64" height="64"> As a consultant who works with remote clients and, before that, a telecommuting systems engineer for companies who used linux I have often encountered the problem of collaborating inside of a remote client that does not have X and who&#8217;s only access is ssh.  Servers with GUI interfaces like Windows or Mac OS X have a long history of tools to share the desktop with multiple users, oddly enough both are called Remote Desktop.  Servers that only have a command line interface, like most linux servers, do not have such an obvious tool for sharing the terminal with another user. While bash and ssh can be manipulated to accomplish this, <a href="http://www.gnu.org/software/screen/">screen</a> fills this roll nicely.  </p>
<p>Screen allows you to create virtual terminals that you can detach from and attach to at will.  Detaching from a screen will leave it running in the background.  Attaching to it again allows you to keep executing commands where you were or see the current state of a process you left running.  If you are the user who started the screen you can attach to a screen that is already attached to, this is is how the shared screen is accomplished. </p>
<p>To set it up, one user logs in to the server and, using su or sudo su, changes to either the second users account or an account that all parties can access.  Next, start screen with the -S option and give it a meaningful name.</p>
<blockquote><p>me@jjtest:~# sudo su &#8211; theOtherGuy<br />
theOtherGuy@jjtest:~# screen -S blogTest
</p></blockquote>
<p>If screen is not installed, it is available as a package on most popular linux distributions.  You are now in a screen session as theOtherGuy.  Now just tell theOtherGuy to log in and that your screen is called blogTest and he will simply need to run screen with the -x option and give the screen name.</p>
<blockquote><p>theOtherGuy@jjtest:~# screen -x blogTest</p></blockquote>
<p>At this point you are both in the same screen session and can both interact with it.  This is great for showing another user what kind of problems you may be having or how to do a certain process.  It can also be used to accomplish remote pair programing on the remote system.  And this doesn&#8217;t have to be limited to just two users, as long as someone can get to that system as that user they can join the screen as well.  </p>
<p>Typing exit at this point will kill the screen and kick both of you out.  If one user wants to leave but not kick the other person off the user just presses Ctrl+a and then d, this will detach you from the screen.  Ctrl+a is the default hot key for activating screen commands.  You can read more about the variety of command available on screen at <a href="http://www.pixelbeat.org/lkdb/screen.html">this site</a> or read abut it fully on the <a href="http://www.gnu.org/software/screen/manual/screen.html">man page</a>.</p>
<p>Screen can be used to do so much more than I&#8217;ve talked about here but it&#8217;s ability to facilitate the sharing of a terminal between users can be a life saver when you need it.  It is not normally installed by default to may linux systems so you may have to install it or ask that it be installed.  </p>
]]></content:encoded>
			<wfw:commentRss>http://jsquaredconsulting.com/blog/2010/08/using-screen-to-share-your-terminal/feed/</wfw:commentRss>
		<slash:comments>783</slash:comments>
		</item>
		<item>
		<title>Likewise, the myth debunked</title>
		<link>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/</link>
		<comments>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 06:28:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[User Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[System administrator]]></category>
		<category><![CDATA[User]]></category>

		<guid isPermaLink="false">http://jsquaredconsulting.com/blog/?p=7</guid>
		<description><![CDATA[This post originally written for my personal blog on June 14th 2009. As a systems administrator in many mixed Windows and linux environments I have seen and made many of my own attempts at integrating the linux servers into the Windows Active Directory structure with mixed results. Linux registration and authentication inside of a Windows [...]]]></description>
			<content:encoded><![CDATA[<p>This post originally written for my personal blog on June 14th 2009.</p>
<p><a href="http://www.likewise.com"><img alt="" src="http://likewise.com/images/logo_likewise_pos.gif" title="Likewise" class="alignleft" width="232" height="36"></a>As a systems administrator in many mixed <a class="zem_slink" href="http://www.microsoft.com/WINDOWS" title="Windows" rel="homepage">Windows</a> and linux environments I have seen and made many of my own attempts at integrating the linux servers into the Windows Active Directory structure with mixed results.  Linux registration and authentication inside of a Windows domain is akin to the bigfoot: some have claimed to see one, many have worked long hours to find them, no one can produce consistent results.  Until now.</p>
<p>At the suggestion by a coworker I decided to give <a href="http://likewise.com" target="_new">Likewise</a> a try on my most recent attempt at bringing our linux servers into the windows domain.  Skeptically I built a new <a class="zem_slink" href="http://www.centos.org/" title="CentOS" rel="homepage">CentOS</a> 5.3 server and proceeded to follow the instructions for installing Likewise.  The seemed too simple and with each step I waited for the fatal issue that would bring the test to it&#8217;s demise.  Software installed, no issues.  As I reviewed the <a href="http://likewise.com/resources/documentation_library/manuals/open/likewise-open-guide.html" target="_new">instructions</a> for adding the system to the domain and found that it only required one command and no further configuration of files I thought, &#8220;This is so going to fall on it&#8217;s face.&#8221;  Command executed and I&#8217;m waiting, then it comes up on the screen: Success.  Success? Really? I don&#8217;t believe it, I log onto the domain controller and there it is, right where new computers are supposed to go in the domain.  I quickly flip over to the manual and look up how to authenticate for ssh, simple DOMAIN\\username@host, and give it the final test.  Success.  In the span of 15 minutes I was able to install the app, add my computer to the domain and authenticate against the domain.  15 more minutes and I was able to limit who could log in and give them sudo access.  This is a huge win for any admin who deals with linux servers in a domain.</p>
<p>I&#8217;m still testing the limits of <a href="http://likewise.com" target="_new">Likewise</a> and I will say that it hasn&#8217;t been without it&#8217;s speed bumps but I plan on paying for a little support and getting the answers I need.  Like may <a class="zem_slink" href="http://www.wikinvest.com/concept/Open_Source" title="Open Source" rel="wikinvest">open source</a> products, Likewise is making it&#8217;s money on support and by selling upgraded functionality.  I applaud this model, allowing the flexibility of open source while still finding a way to pay for all that hard work.  I will be continuing to test the limits of Likewise but as of now I am thoroughly impressed and will continue to use it.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/bdcfe811-bf6d-41eb-89fd-6e19ef88c268/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=bdcfe811-bf6d-41eb-89fd-6e19ef88c268" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related more-info pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/feed/</wfw:commentRss>
		<slash:comments>1463</slash:comments>
		</item>
	</channel>
</rss>

