Ubuntu newbe password question ?
ZIYAD A. M. AL-BATLY
zamb at saudi.net.sa
Sat Sep 24 21:14:28 UTC 2005
On Sat, 2005-09-24 at 20:45 +0100, ubuntu at pusspaws.net wrote:
<snip>
> > That is very unsafe, use sudo -i for a root shell.
>
> Thanks for that, 'sudo -i' works great - why is sudo bash so risky ?
Because you'll have _root_ privileges and your *own* environment
variables! In that case, "$HOME" will point to your home directory and
not root's! Another example, "$USERNAME" will still contain your login
name and not "root".
<snip>
>
> dave
>
>
Ziyad.
More information about the ubuntu-users
mailing list