<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">I finally found a legitimate use for &quot;sudo su -&quot;, which is otherwise a redundant construct (juse use &quot;sudo -i&quot; instead).</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style><font face="monospace, monospace"><a href="http://askubuntu.com/questions/161924/how-do-i-set-persistent-environment-variables-for-root">http://askubuntu.com/questions/161924/how-do-i-set-persistent-environment-variables-for-root</a></font><br></div><div class="gmail_default" style><font face="monospace, monospace"><br></font></div><div class="gmail_default" style><font face="monospace, monospace">Sudo cleans the environment, but fails to re-read /etc/environment.</font></div><div class="gmail_default" style><font face="monospace, monospace">Su(8) does, when invoked with &quot;-&quot;, read /etc/environment.</font></div><div class="gmail_default" style><font face="monospace, monospace"><br></font></div><div class="gmail_default" style><font face="monospace, monospace">AFAIK, this is only a problem on Ubuntu (and possibly Debian etc., I haven&#39;t checked).</font></div><div class="gmail_default" style><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">
    
<table>
      <tbody>
        <tr>
          <td width="141px"><img src="http://avant.ca/av/wp-content/uploads/avant_2014_email-e1391110991529.jpg" alt="Avant logo" width="141px" height="45px"></td>
          <td style="font-family:helvetica;font-size:11pt"><b>Adam Thompson</b><br>
            Senior Systems Administrator<br>
            <b><span style="color:rgb(190,215,48)">voice:</span></b> 204.789.9596 x24 | <b><span style="color:rgb(0,171,188)">email:</span></b> <a href="mailto:athompson@avant.ca" target="_blank">athompson@avant.ca</a> | <b><span style="color:rgb(180,30,142)">web:</span></b> <a href="http://avant.ca/" target="_blank">avant.ca</a>
            </td>
        </tr>
      </tbody>
    
</table>
    
  
</div></div></div></div></div>
</div>