Help to get started

Nils Kassube kassube at
Fri Nov 12 06:14:08 GMT 2010

Martin Hooper wrote:
> Nils Kassube <kassube at> wrote in
> news:201011021846.18593.kassube at
> > Why? Usually there is no real benefit if you set a root password.
> > If you need a root shell, you can use e.g.
> > 
> > sudo su
> or sudo -s which is how I get a root prompt.

I prefer "sudo su" because I'm too lazy to look up the correct option 
each time. :) While "sudo -s" works, you get the wrong environment, i.e. 
your $HOME is preserved (yes, I did look it up this time). It is better 
to use "sudo -i" because then $HOME is set to "/root". The advantage is 
that you don't accidently change the ownership of configuration files 
for those applications you start in your root shell.


More information about the kubuntu-users mailing list