<div dir="ltr">alternatively, you can 'sudo su -'<div><br></div><div>WMM<br><br><div class="gmail_quote">2008/9/17 Daniel Kahn Gillmor <span dir="ltr"><<a href="mailto:dkg@fifthhorseman.net">dkg@fifthhorseman.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">> Open a terminal and type `sudo su`<br>
<br>
</div>It's a bad idea to get into the habit of typing "sudo su" -- this does<br>
not clear the current environment, change working directory, or<br>
anything like that. 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 "simulate initial<br>
login".<br>
<br>
So use "sudo -i" instead of "sudo su", if your goal is to get a clean<br>
root shell.<br>
<br>
hth,<br>
<font color="#888888"><br>
--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>