On Mon, Aug 16, 2010 at 08:11:47PM +0100, Wayne Stallwood wrote:
On 16/08/10 18:45, Tim Green wrote:
On 16 August 2010 17:34, Chris Gcl@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 :)
I have a root password on my desktop system but on the others it just seems easier to stay with the default Ubuntu setup. I don't have to invent more passords either! :-)