"sudo -i" is better than "sudo -s" (was Re: mv while retaning permissions?)
ZIYAD A. M. AL-BATLY
zamb at saudi.net.sa
Sun Sep 18 10:48:00 UTC 2005
First of all, my apology for being nit-picky.
On Sun, 2005-09-18 at 12:06 +0200, Pierfrancesco Caci wrote:
<snip>
> (*) yeah, we all have learnt ubuntu doesn't have root by now.
> "sudo -s" will do.
>
"sudo -i" is much better (and probably safer to use) than "sudo -s" as
it reinitialize all "root"'s environment variables (like "$HOME" among
others).
>
> --
>
> -------------------------------------------------------------------------------
> Pierfrancesco Caci | ik5pvx | mailto:pf at tippete.net - http://www.tippete.net/
> Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
> Linux penny 2.6.12-rc6 #1 Thu Jun 16 23:01:38 CEST 2005 i686 GNU/Linux
>
>
Ziyad.
More information about the ubuntu-users
mailing list