<?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>Suse &#38; OpenSuse Tips &#187; terminal</title>
	<atom:link href="http://www.susetips.com/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.susetips.com</link>
	<description>Tricks, Guides, Tutorials, How Tos and Troubleshooting suse linux</description>
	<lastBuildDate>Sat, 05 Jun 2010 17:55:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>What’s the difference between “su” and “su –”?</title>
		<link>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/</link>
		<comments>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 11:54:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/</guid>
		<description><![CDATA[We get asked this question quite often and maybe it is good to give a simple explanation.  “su” by itself means that you would like to assume the super user identity.  You can also assume the identity of another user using “su &#60;userid&#62;”. Then, many people actually ask why do we usually type “su –” [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/">What’s the difference between “su” and “su –”?</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter">
<dl id="attachment_50" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><img class="size-medium wp-image-50" title="suse-terminal" src="http://www.susetips.com/wp-content/uploads/2009/03/suse-terminal-300x225.jpg" alt="opensuse terminal" width="300" height="225" /></dt>
</dl>
</div>
<p>We get asked this question quite often and maybe it is good to give a simple explanation.  “<span style="font-family: Courier New;">su”</span> by itself means that you would like to assume the super user identity.  You can also assume the identity of another user using “<span style="font-family: Courier New;">su &lt;userid&gt;”</span>.<br />
<span id="more-48"></span><br />
Then, many people actually ask why do we usually type “<span style="font-family: Courier New;">su –</span>” instead of just “<span style="font-family: Courier New;">su</span>”?  The main difference is that the one with the “<span style="font-family: Courier New;">-</span>“ will run the to-be-assumed userid’s startup scripts which will basically mean that you will have the environment settings (such as $PATH) as though you are logged in as the new userid.  Without the “<span style="font-family: Courier New;">-</span>“, you will have the environment settings of the current userid (probably your userid).<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4709064562032853";
/* 300x250, created 5/8/09 */
google_ad_slot = "9311445083";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/">What’s the difference between “su” and “su –”?</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/05/29/differential-backup-script-sample/" rel="bookmark" title="Permanent Link: Differential backup script sample">Differential backup script sample</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
