<?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>How To Ubuntu &#187; user</title>
	<atom:link href="http://howto-ubuntu.net/tag/user/feed/" rel="self" type="application/rss+xml" />
	<link>http://howto-ubuntu.net</link>
	<description>Focusing on the Long Term Support release -- Lucid 10.04</description>
	<lastBuildDate>Fri, 30 Jul 2010 12:30:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shortcut to root command line access while logged in as un-privileged user</title>
		<link>http://howto-ubuntu.net/shortcut-to-root-command-line-access-while-logged-in-as-un-privileged-user/</link>
		<comments>http://howto-ubuntu.net/shortcut-to-root-command-line-access-while-logged-in-as-un-privileged-user/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:27:03 +0000</pubDate>
		<dc:creator>Eli</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[user switcher]]></category>

		<guid isPermaLink="false">http://howto-ubuntu.com/?p=289</guid>
		<description><![CDATA[<p>Let&#8217;s say you&#8217;re logged into your Ubuntu machine as an unprivileged user, meaning that you don&#8217;t have permission to use the sudo command on the command line. As such, you cannot update the system, install a program, or perform other tasks in the terminal that require the sudo command without logging out and then back [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you&#8217;re logged into your Ubuntu machine as an unprivileged user, meaning that you don&#8217;t have permission to use the sudo command on the command line. As such, you cannot update the system, install a program, or perform other tasks in the terminal that require the sudo command without logging out and then back in as the administrative user, or using the User Switcher. This annoys me. So, how do I execute commands in the terminal that require the sudo command while still logged in as the unprivileged user??<br />
<span id="more-289"></span><br />
First off, you&#8217;ll need <strong>ssh</strong>. To make sure you have this installed, login to your administrative account (a step that will soon become unnecessary), open a terminal, and enter&#8230;</p>
<p><code><strong>sudo apt-get install openssh-server openssh-client</strong></code></p>
<p>After this install is finished you can logout, and back in as the unprivileged user.Now you can open a terminal and enter&#8230;</p>
<p><code><strong>ssh [administrative username]@127.0.0.1</strong></code></p>
<p>You&#8217;ll be asked for your password, this is the administrative account&#8217;s password, enter it and press enter. Now, you&#8217;ll have a command line prompt for the administrative user, as if you had logged in as that user and opened a terminal. You can now update the system, or make whatever change you need to make that requires you to enter your sudo password.</p>
<p>A nice time saving trick.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fhowto-ubuntu.net%2Fshortcut-to-root-command-line-access-while-logged-in-as-un-privileged-user%2F&amp;linkname=Shortcut%20to%20root%20command%20line%20access%20while%20logged%20in%20as%20un-privileged%20user"><img src="http://howto-ubuntu.net/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://howto-ubuntu.net/shortcut-to-root-command-line-access-while-logged-in-as-un-privileged-user/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
