<div dir="ltr">alternatively, you can &#39;sudo su -&#39;<div><br></div><div>WMM<br><br><div class="gmail_quote">2008/9/17 Daniel Kahn Gillmor <span dir="ltr">&lt;<a href="mailto:dkg@fifthhorseman.net">dkg@fifthhorseman.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">&gt; Open a terminal and type `sudo su`<br>
<br>
</div>It&#39;s a bad idea to get into the habit of typing &quot;sudo su&quot; -- this does<br>
not clear the current environment, change working directory, or<br>
anything like that. &nbsp;As such, it leaves the user as a superuser in a<br>
shell that is potentially dangerously misconfigured (e.g. a bad $PATH,<br>
etc).<br>
<br>
Modern versions of sudo (in Mac OS X from at least 10.3 on, and in<br>
GNU/Linux for years as well) have a -i flag to &quot;simulate initial<br>
login&quot;.<br>
<br>
So use &quot;sudo -i&quot; instead of &quot;sudo su&quot;, if your goal is to get a clean<br>
root shell.<br>
<br>
hth,<br>
<font color="#888888"><br>
 &nbsp; --dkg<br>
</font><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><br>Warren Myers<br><a href="http://warrenmyers.com">http://warrenmyers.com</a><br>
</div></div>