16 Aug
2010
16 Aug
'10
8:11 p.m.
On 16/08/10 18:45, Tim Green wrote:
On 16 August 2010 17:34, Chris G<cl@isbd.net> wrote:
I tend to use 'sudo -s' when I want to do a series of things as root, it generally works fine but I have just noticed a minor issue. It doesn't set a proper root environment so that you still have the environment of the user who sudo'ed to root - in particular there is the PATH which may have all sorts of oddities on it and HOME is still set to your home directory.
sudo su -
To be fair if you are doing that frequently you may as well set a root password and be done with it :)